summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_common.sh
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-01-20 12:17:19 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-01-20 12:18:26 +0100
commit93db74c712161be60b9838adb9574b9c4e5355ad (patch)
treed06e47c7e265bfe25e404f4c5c7dbbe49c66edbe /scripts/lib/ptxd_make_world_common.sh
parent20021d3e2383043e40421fd31aee3ad4f70a37f7 (diff)
downloadptxdist-93db74c712161be60b9838adb9574b9c4e5355ad.tar.gz
ptxdist-93db74c712161be60b9838adb9574b9c4e5355ad.tar.xz
[ptxd_make_world_common] fix default PATH setting
....the previous patch [1] was non working [1] 20021d3e2383043e40421fd31aee3ad4f70a37f7 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r--scripts/lib/ptxd_make_world_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh
index 23ed57800..c12e81586 100644
--- a/scripts/lib/ptxd_make_world_common.sh
+++ b/scripts/lib/ptxd_make_world_common.sh
@@ -225,7 +225,7 @@ ptxd_make_world_init() {
# path
#
local path_ptr="ptx_path_${pkg_type}"
- pkg_path="${pkg_path:-PATH=${!path_ptr}}"
+ pkg_path="${pkg_path:-${!path_ptr:+PATH=${!path_ptr}}}"
unset path_ptr
#