Exit after building in debian-here.sh
This commit is contained in:
parent
b0dbd672b9
commit
603fbda7d9
@ -12,10 +12,11 @@ script_dir="$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
|
||||
run() {
|
||||
if [[ ! -z ${BUILD:-} ]];then
|
||||
if [[ ! -z "${BUILD:-}" ]];then
|
||||
pushd "$script_dir"
|
||||
docker build -t debian-here .
|
||||
popd
|
||||
exit
|
||||
fi
|
||||
|
||||
mount_point="/mnt/$(basename "$here")"
|
||||
|
Loading…
Reference in New Issue
Block a user