diff options
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-x | trunk/src/jail-commit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index d8cd987..f3d5f05 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -94,8 +94,10 @@ function template_svn_commit { # usage: template_svn_commit <template-folder> if use_svn && [ -d "$1/.svn" ]; then - echo Commiting changes to the repository... cd $1 + echo First checking out from the repository... + svn update + echo Commiting changes to the repository... svn commit -m "changes for `date`" if [ "$?" != "0" ]; then echo $BASENAME: commit error @@ -142,11 +144,9 @@ elif [ "$1" == "--all" ]; then elif echo $1 | grep -q -e "^--"; then usage elif [ ! -z "$1" ]; then - echo "This is jail-commit; Run \"$BASENAME --help\" for help" do_commit $1 $2 template_svn_commit `dirname $TEMPLATE_BASE` else - echo "This is jail-commit; Run \"$BASENAME --help\" for help" if [ -f $JAIL_LIST ]; then for jailpath in `cat $JAIL_LIST`; do do_commit $jailpath |