From 280b6a6c876620ebd97a22019ae9df11aad1180a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 22 Jun 2012 15:43:12 +0200 Subject: [PATCH] take LIVE_TYPE as commandline param --- live_build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/live_build.sh b/live_build.sh index e9992e4..08eaf2e 100755 --- a/live_build.sh +++ b/live_build.sh @@ -3,9 +3,10 @@ set -e -if [ "$LIVE_TYPE" == "" ] ; then - echo 'please supply $LIVE_TYPE environment variable' - exit 0 +if [ "$1" == "" ] ; then + export LIVE_TYPE="default" +else + export LIVE_TYPE=$1 fi BUILDDATE=$(date +%Y%m%d%H%M) -- 2.39.5