diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-27 17:51:52 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-27 17:54:32 +0200 |
commit | c41e2f9c242ab87a0f7b541889b73ee8705c94db (patch) | |
tree | b547ce3437ba8093f611194f0eef681372b113c7 /scripts/lib/ptxd_make_world_common.sh | |
parent | ebdf39487964d78ed42b25bc484d635e8646082b (diff) | |
download | ptxdist-c41e2f9c242ab87a0f7b541889b73ee8705c94db.tar.gz ptxdist-c41e2f9c242ab87a0f7b541889b73ee8705c94db.tar.xz |
ptxd_make_world_init: fix redefining PTXDIST_LAYERS with older bash versions
This is needed for bash 4.3.30 and probably other older bash versions.
Without this, exporting PTXDIST_LAYERS does not work correctly and it is no
longer defined once ptxd_make_world_init() is done.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index 8c44e0ffd..b161cd8a2 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -197,8 +197,9 @@ ptxd_make_world_init() { # PTXDIST_LAYERS gets lost in 'make' so redefine it here local orig_IFS="${IFS}" IFS=: - export -a PTXDIST_LAYERS=( ${PTXDIST_PATH_LAYERS} ) + PTXDIST_LAYERS=( ${PTXDIST_PATH_LAYERS} ) IFS="${orig_IFS}" + export PTXDIST_LAYERS # # type |