summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-09-13 14:23:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-16 16:27:04 +0200
commitdb328b77629edbccbf47ff59241905b1d60bc0ae (patch)
tree01ae77d378ce6007c7ba74351d5bcbc7fabc8107 /scripts
parent2512fa5ae1d6ecdbdeb1805067a87652848f97be (diff)
downloadptxdist-db328b77629edbccbf47ff59241905b1d60bc0ae.tar.gz
ptxdist-db328b77629edbccbf47ff59241905b1d60bc0ae.tar.xz
ptxd_make_world_install_post: check the correct path before replacing it
The symlink is '.${pkg_label}' so check for this instead of '${pkg_label}'. Earlier revisions of the original patch used '${pkg_label}' and not all occurrences where replaced. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh
index 04a610d3d..ba8e2058e 100644
--- a/scripts/lib/ptxd_make_world_install.sh
+++ b/scripts/lib/ptxd_make_world_install.sh
@@ -257,7 +257,7 @@ ptxd_make_world_install_post() {
fi
done &&
- if [ ! -e "${ptx_pkg_dir}/${pkg_label}" -o -h "${ptx_pkg_dir}/${pkg_label}" ]; then
+ if [ ! -e "${ptx_pkg_dir}/.${pkg_label}" -o -h "${ptx_pkg_dir}/.${pkg_label}" ]; then
ln -sfT $(basename "${pkg_pkg_dir}") "${ptx_pkg_dir}/.${pkg_label}"
fi &&
# avoid writing to sysroot in parallel with -jeX/-jX