Exit when TARGET is not specified
This commit is contained in:
parent
3baa648f45
commit
64e4dce061
@ -5,6 +5,7 @@ set -e
|
|||||||
TARGET="${1}"
|
TARGET="${1}"
|
||||||
if [ -z "${TARGET}" ]; then
|
if [ -z "${TARGET}" ]; then
|
||||||
echo "You must specify rootfs where packages should be unpacked"
|
echo "You must specify rootfs where packages should be unpacked"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TARGET="$(realpath "${TARGET}")"
|
TARGET="$(realpath "${TARGET}")"
|
||||||
|
Loading…
Reference in New Issue
Block a user