t9164: Add missing quotes in test
This fixes `ambiguous redirect' error given by bash. [ew: fix misspelled test name, also eliminate space after ">>" to conform to guidelines] Signed-off-by: Eric Wong <normalperson@yhbt.net>
Robert Luberda committed
Aug 20, 2012 at 00:43 UTC
a967cb15d3eee0d4992f92edab50da0ddbb97738
1 file changed
+4
-4
t/t9164-git-svn-dcommit-concurrent.sh
renamed
+4
-4
@@ -60,11 +60,11 @@ setup_hook()
60
[ "$cnt" = "0" ] || exit 0
61
EOF1
62
if [ "$hook_type" = "pre-commit" ]; then
63
- echo "echo 'commit disallowed' >&2; exit 1" >> "$hook"
63
+ echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
64
else
65
- echo "PATH=\"$PATH\"; export PATH" >> $hook
66
- echo "svnconf=\"$svnconf\"" >> $hook
67
- cat >> "$hook" <<- 'EOF2'
65
+ echo "PATH=\"$PATH\"; export PATH" >>"$hook"
66
+ echo "svnconf=\"$svnconf\"" >>"$hook"
67
+ cat >>"$hook" <<- 'EOF2'
68
cd work-auto-commits.svn
69
svn up --config-dir "$svnconf"
70
echo "$$" >> auto_updated_file