From: Pavel Roskin Date: Fri, 03 Mar 2006 01:11:54 GMT Subject: [PATCH 1/3] cg-mv doesn't work with bash 3.1.7 due to excessive quotes Message-ID: <20060303011154.14619.71590.stgit@dv.roinet.com> Signed-off-by: Pavel Roskin --- 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[@]}"