summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/gitb-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gitb-init.sh b/src/gitb-init.sh
index 0261405..3ed5bee 100755
--- a/src/gitb-init.sh
+++ b/src/gitb-init.sh
@@ -58,7 +58,7 @@ fi
if [ ! -z $2 ]; then
REPOS_DIR=$2
elif [ ! -z $GITBI_DIR ]; then
- REPOS_DIR=$2
+ REPOS_DIR=$GITBI_DIR
else
echo 'ERROR: Bare repos directory not specified.'
usage