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() {
if [[ ! -z ${BUILD:-} ]];then
if [[ ! -z "${BUILD:-}" ]];then
pushd "$script_dir"
docker build -t debian-here .
popd
exit
fi
mount_point="/mnt/$(basename "$here")"