Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'production/build-functions.sh')
-rwxr-xr-xproduction/build-functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/production/build-functions.sh b/production/build-functions.sh
index ca7a6f00..6e5c0ee2 100755
--- a/production/build-functions.sh
+++ b/production/build-functions.sh
@@ -61,13 +61,13 @@ fn-git-clone ()
{
URL="$1"; shift
if [ $# -gt 0 ]; then
- BRANCH="-b $1"; shift
+ BRANCH_CMD="-b $1"; shift
fi
if [ $# -gt 0 ]; then
TARGET_DIR="$1"; shift
fi
- echo git clone $BRANCH $URL $TARGET_DIR
- git clone $BRANCH $URL $TARGET_DIR
+ echo git clone $BRANCH_CMD $URL $TARGET_DIR
+ git clone $BRANCH_CMD $URL $TARGET_DIR
}
# USAGE: fn-git-checkout BRANCH | TAG

Back to the top