Skip to content

Commit a967cb1

Browse files
roblubEric Wong
authored andcommitted
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 <[email protected]>
1 parent 14d3ce1 commit a967cb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t9164-git-svn-dcommit-concrrent.sh renamed to t/t9164-git-svn-dcommit-concurrent.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ setup_hook()
6060
[ "$cnt" = "0" ] || exit 0
6161
EOF1
6262
if [ "$hook_type" = "pre-commit" ]; then
63-
echo "echo 'commit disallowed' >&2; exit 1" >> "$hook"
63+
echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
6464
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'
6868
cd work-auto-commits.svn
6969
svn up --config-dir "$svnconf"
7070
echo "$$" >> auto_updated_file

0 commit comments

Comments
 (0)