summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-05-17 06:56:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-05-17 06:56:10 +0200
commitbf823c8e7e7b4c8bcbc363f320979cf36929558d (patch)
treeb6883b6ebbbd65535e3f74b2c22327e69b1fb270 /scripts
parent2f3ab69844bf3d62a31704b6b5efba7576b52781 (diff)
downloadptxdist-bf823c8e7e7b4c8bcbc363f320979cf36929558d.tar.gz
ptxdist-bf823c8e7e7b4c8bcbc363f320979cf36929558d.tar.xz
ptxdist: allow overwriting wrapper scripts in the BSP
This makes it possible to overwrite individual wrapper scripts in the BSP. Copy the files instead of using symlinks now. This is necessary to find libwrapper.sh by resolving all links. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/wrapper/libwrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wrapper/libwrapper.sh b/scripts/wrapper/libwrapper.sh
index 677ca3ce4..00216f615 100644
--- a/scripts/wrapper/libwrapper.sh
+++ b/scripts/wrapper/libwrapper.sh
@@ -16,7 +16,7 @@ ARG_LIST=""
LATE_ARG_LIST=""
if [ -z "${PTXDIST_PLATFORMCONFIG}" ]; then
- . "$(dirname "$0")/env" || exit
+ . "$(dirname "$(readlink -f "${0}")")/env" || exit
fi
. ${PTXDIST_PLATFORMCONFIG}