diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 15:43:34 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 15:43:34 +0000 |
commit | 71b612263868dfab888f31086ba85c9bdb73674c (patch) | |
tree | e7bdf80ba72027ac7dcd2db0e096e7827a811ef6 /trunk/src/jail-commit | |
parent | 9abb526d0c1b359084b028161b881bd894c53877 (diff) | |
download | simplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.gz simplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.bz2 |
lots of bugfixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@290 04377dda-e619-0410-9926-eae83683ac58
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 |