From 603fbda7d9d3551151c811708957ef2a3cc90801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 24 May 2018 21:18:03 +0200 Subject: [PATCH] Exit after building in debian-here.sh --- debian-here.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian-here.sh b/debian-here.sh index 5a56a30..31f4c03 100755 --- a/debian-here.sh +++ b/debian-here.sh @@ -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")"