diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-04-12 13:58:07 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-04-12 14:07:31 +0200 |
commit | a7a2ab4bbd7d98f5b0f55ba876cba1f56261ee96 (patch) | |
tree | 6568dcbfa450bc2e80b714366a0a4afcfda9b332 /scripts/lib | |
parent | a691341deb33077b9d5ede5fe349ee6b3fb99be1 (diff) | |
download | ptxdist-a7a2ab4bbd7d98f5b0f55ba876cba1f56261ee96.tar.gz ptxdist-a7a2ab4bbd7d98f5b0f55ba876cba1f56261ee96.tar.xz |
ptxd_make_world_release: handle relative lndir:// URLs
The URLs should not contain PTXDIST_WORKSPACE to ensure that layers work
correctly. So just match any lndir:// URL.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/ptxd_make_world_license.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_license.sh b/scripts/lib/ptxd_make_world_license.sh index 4f0a04922..c08829de0 100644 --- a/scripts/lib/ptxd_make_world_license.sh +++ b/scripts/lib/ptxd_make_world_license.sh @@ -566,7 +566,7 @@ ptxd_make_world_release() { if [[ "${pkg_url}" =~ "file://" ]]; then echo "Note: this package has BSP internal source code" > "${pkg_release_dir}/source" else - if [[ "${pkg_url}" =~ "lndir://${PTXDIST_WORKSPACE}" ]]; then + if [[ "${pkg_url}" =~ "lndir://" ]]; then echo "Note: this package has BSP internal source code" > "${pkg_release_dir}/source" else echo "Warning: direct/plain sources outside the BSP are unsupported!" > "${pkg_release_dir}/source" |