# svncreate is part of the repo_shell distribution.
-eval $(sed -e 's| ||g' < /etc/repo_shell.conf)
+eval $([ -f /etc/repo_shell.conf ] && sed -e 's| ||g' < /etc/repo_shell.conf)
if [ -z "$owner" -o -z "$svn_root" ]; then
echo "$0: please configure /etc/repo_shell.conf"
+ exit 1
fi
svndir=$svn_root/..