Exit after building in debian-here.sh

This commit is contained in:
Kristóf Tóth 2018-05-24 21:18:03 +02:00
parent b0dbd672b9
commit 603fbda7d9

View File

@ -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")"