From: R. Steve McKown Date: Fri, 28 Sep 2012 19:44:48 +0000 (-0600) Subject: svncreate creates default hooks dir if not present X-Git-Tag: 0.5~4 X-Git-Url: https://oss.titaniummirror.com/gitweb?p=repo_shell.git;a=commitdiff_plain;h=abbf7c4f0a62a013cf01a5cd347884fb5b852be1 svncreate creates default hooks dir if not present --- diff --git a/scripts/svncreate b/scripts/svncreate index 2c0fb9e..2802037 100755 --- a/scripts/svncreate +++ b/scripts/svncreate @@ -39,7 +39,7 @@ ln -s ../../../svnserve.conf $svn_root/$1/conf/svnserve.conf mv $svn_root/$1/hooks $svn_root/$1/hooks.orig ln -s ../../hooks $svn_root/$1/hooks if [ ! -d $svndir/hooks ]; then - echo "$0: WARNING: no hooks directory $svndir/hooks" >&2v + mkdir $svndir/hooks fi echo "Repository created.