diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-05-05 09:24:10 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-05-09 11:43:27 +0200 |
commit | c095730c607f17f9f62277378bb2b69f068f45ef (patch) | |
tree | f22ed7d326aa73c462b20b36329cf91753d207d5 /scripts | |
parent | 0103bcca98abb5005d47cf3020efd59b990bcbae (diff) | |
download | ptxdist-c095730c607f17f9f62277378bb2b69f068f45ef.tar.gz ptxdist-c095730c607f17f9f62277378bb2b69f068f45ef.tar.xz |
ptxd_make_xpkg_pkg: all destinations must be absolute paths
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 4e5878a58..78fec97c6 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -25,6 +25,11 @@ ptxd_install_error() { export -f ptxd_install_error ptxd_install_setup() { + case "${dst}" in + /*|"") ;; + *) ptxd_bailout "'dst' must be an absolute path!" ;; + esac + # all dirs dirs=("${ptx_nfsroot}" "${ptx_nfsroot_dbg}" "${pkg_xpkg_tmp}") |