diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-16 07:40:53 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-17 15:55:54 +0200 |
commit | b03397aa09b57fe3e426af2ee8e88e40b4d09a38 (patch) | |
tree | 15a695a44e251d94e3a3fc0c4c0b22837d8771b2 /scripts/lib/ptxd_lib_local_src.sh | |
parent | 2fcabe372c86feadde4aa3d74da1aa5f7552810a (diff) | |
download | ptxdist-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/lib/ptxd_lib_local_src.sh')
-rw-r--r-- | scripts/lib/ptxd_lib_local_src.sh | 2 |
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" |