Skip to content

Commit

Permalink
t9164: Add missing quotes in test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Luberda authored and Eric Wong committed Oct 5, 2012
1 parent 14d3ce1 commit a967cb1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ setup_hook()
[ "$cnt" = "0" ] || exit 0
EOF1
if [ "$hook_type" = "pre-commit" ]; then
echo "echo 'commit disallowed' >&2; exit 1" >> "$hook"
echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
else
echo "PATH=\"$PATH\"; export PATH" >> $hook
echo "svnconf=\"$svnconf\"" >> $hook
cat >> "$hook" <<- 'EOF2'
echo "PATH=\"$PATH\"; export PATH" >>"$hook"
echo "svnconf=\"$svnconf\"" >>"$hook"
cat >>"$hook" <<- 'EOF2'
cd work-auto-commits.svn
svn up --config-dir "$svnconf"
echo "$$" >> auto_updated_file
Expand Down

0 comments on commit a967cb1

Please sign in to comment.