From 088a70e9473ecf09b58d7fa03467db59c0347bdc Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 11 Dec 2017 03:34:51 +0000 Subject: src/gitb-init.sh: Fix REPOS_DIR assignment. --- src/gitb-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3