[PATCH 1/3] cg-mv doesn't work with bash 3.1.7 due to excessive quotes

From: Pavel Roskin <proski@gnu.org>
Date: 2006-03-03 12:11:54
Signed-off-by: Pavel Roskin <proski@gnu.org>
---

 cg-mv |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cg-mv b/cg-mv
index c42853c..d5618ba 100755
--- a/cg-mv
+++ b/cg-mv
@@ -38,7 +38,7 @@ done
 # Strip trailing / which is something GIT does not bear well.
 ARGS2=()
 for arg in "${ARGS[@]}"; do
-	ARGS2["${#ARGS2[@]}"]="$_git_relpath${arg%/}"
+	ARGS2[${#ARGS2[@]}]="$_git_relpath${arg%/}"
 done
 
 git-mv $force "${ARGS2[@]}"

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 03 12:12:40 2006

This archive was generated by hypermail 2.1.8 : 2006-03-03 12:13:57 EST