From 755a58df625e37686432e92fac497581b3522654 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 21 Oct 2014 18:25:06 +0800 Subject: [PATCH] fix: [base-0k] Setting a default empty value for DOCKER Avoid ``set -eux`` complaining about variable not set when launched from various script. (Docker setup failed and lxc-script failed and even direct usage will fail without this.) --- precise/base-0k/hooks/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/precise/base-0k/hooks/install b/precise/base-0k/hooks/install index 124f15c..2561a9a 100755 --- a/precise/base-0k/hooks/install +++ b/precise/base-0k/hooks/install @@ -2,6 +2,8 @@ set -eux # -x for verbose logging to juju debug-log +DOCKER=${DOCKER:-} + ## 0k git remote path GIT_0K_BASE=${GIT_0K_BASE:-"git.0k.io:/var/git"}