summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-10-16 07:40:53 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-17 15:55:54 +0200
commitb03397aa09b57fe3e426af2ee8e88e40b4d09a38 (patch)
tree15a695a44e251d94e3a3fc0c4c0b22837d8771b2 /scripts
parent2fcabe372c86feadde4aa3d74da1aa5f7552810a (diff)
downloadptxdist-b03397aa09b57fe3e426af2ee8e88e40b4d09a38.tar.gz
ptxdist-b03397aa09b57fe3e426af2ee8e88e40b4d09a38.tar.xz
ptxdist: rename PTX_FORCE -> PTXDIST_FORCE for consistency and export it
All other variables like this start with PTXDIST_. Export it, so it can be used later during the build. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_lib_local_src.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_local_src.sh b/scripts/lib/ptxd_lib_local_src.sh
index 738d8dc91..0c04b6530 100644
--- a/scripts/lib/ptxd_lib_local_src.sh
+++ b/scripts/lib/ptxd_lib_local_src.sh
@@ -26,7 +26,7 @@ ptxd_lib_local_src() {
mkdir -p "${PTXDIST_WORKSPACE}/local_src"
if [ -e "${link}" -o -L "${link}" ]; then
- if [ -n "${PTX_FORCE}" ]; then
+ if [ -n "${PTXDIST_FORCE}" ]; then
rm "${link}" || exit 1
else
ptxd_bailout "'${link}' already exists. Use -f to overwrite"