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() {
|
run() {
|
||||||
if [[ ! -z ${BUILD:-} ]];then
|
if [[ ! -z "${BUILD:-}" ]];then
|
||||||
pushd "$script_dir"
|
pushd "$script_dir"
|
||||||
docker build -t debian-here .
|
docker build -t debian-here .
|
||||||
popd
|
popd
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount_point="/mnt/$(basename "$here")"
|
mount_point="/mnt/$(basename "$here")"
|
||||||
|
Loading…
Reference in New Issue
Block a user