Browse Source

Use cd instead git's -C option.

pkun 10 years ago
parent
commit
e5a0b1a78d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/rfa

+ 4 - 1
scripts/rfa

@@ -52,7 +52,10 @@ create_repo_svn()
 create_repo_git()
 {
 	mkdir -p "$1" || return 1
-	git -C "$1" init --bare --shared >/dev/null || return 1
+#	git -C "$1" init --bare --shared >/dev/null || return 1
+	cd "$1" || return 1
+	git init --bare --shared >/dev/null || return 1
+	cd - >/dev/null
 }
 
 data_add()