Explorar el Código

Use cd instead git's -C option.

pkun hace 11 años
padre
commit
e5a0b1a78d
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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()