diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-01-10 15:14:46 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-01-23 17:08:35 +0100 |
commit | 60e903591cf04c2f54b8e7bd976ec81ef4524f82 (patch) | |
tree | cc9c0e66b1d21319f9578ac062d5d36f781adaf8 /scripts | |
parent | b9cfa011b12b1397a93b09e870ffd64d949941bb (diff) | |
download | ptxdist-60e903591cf04c2f54b8e7bd976ec81ef4524f82.tar.gz ptxdist-60e903591cf04c2f54b8e7bd976ec81ef4524f82.tar.xz |
ptxd_install_setup_src: fail if the file is not found
Otherwise, additional strange errors are printed because ptxdist continues
with invalid values. Or ptxdist might ignore the error. This happend when
'install_glob' tried to install a file with whitespaces before the recent
ptxd_get_path() changes.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 434bfd9e7..3a06455b8 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -218,6 +218,7 @@ ptxd_install_setup_src() { " echo -e "${list[*]}\n" IFS="${orig_IFS}" + return 1 } export -f ptxd_install_setup_src |