From e6a9587f93c6b7f7c6b535d6fbf84923d98cfd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 31 Mar 2018 01:32:44 +0200 Subject: [PATCH] Add support for missing baseimageless mode in tfw.sh --- hack/tfw.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/tfw.sh b/hack/tfw.sh index a072d3c..f6a37d1 100755 --- a/hack/tfw.sh +++ b/hack/tfw.sh @@ -26,6 +26,7 @@ run_frontend() release_baseimage() { + [ ! -d "$BASEIMAGE_PATH" ] && return || : cd $BASEIMAGE_PATH TAG="$(baseimage_releasename)" read -p "Tag and push new TFW version \"${TAG}\"? [y/N]" -r && echo @@ -38,6 +39,7 @@ release_baseimage() build_baseimage() { + [ ! -d "$BASEIMAGE_PATH" ] && return || : cd $BASEIMAGE_PATH docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" -t "${BASEIMAGE_NAME}:latest" . }