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>
This commit is contained in:

committed by
Eric Wong

parent
14d3ce1120
commit
a967cb15d3
@ -62,8 +62,8 @@ EOF1
|
|||||||
if [ "$hook_type" = "pre-commit" ]; then
|
if [ "$hook_type" = "pre-commit" ]; then
|
||||||
echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
|
echo "echo 'commit disallowed' >&2; exit 1" >>"$hook"
|
||||||
else
|
else
|
||||||
echo "PATH=\"$PATH\"; export PATH" >> $hook
|
echo "PATH=\"$PATH\"; export PATH" >>"$hook"
|
||||||
echo "svnconf=\"$svnconf\"" >> $hook
|
echo "svnconf=\"$svnconf\"" >>"$hook"
|
||||||
cat >>"$hook" <<- 'EOF2'
|
cat >>"$hook" <<- 'EOF2'
|
||||||
cd work-auto-commits.svn
|
cd work-auto-commits.svn
|
||||||
svn up --config-dir "$svnconf"
|
svn up --config-dir "$svnconf"
|
Reference in New Issue
Block a user