diff options
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-x | trunk/src/jail-commit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index e09ca3e..d8cd987 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -94,6 +94,7 @@ 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 svn commit -m "changes for `date`" if [ "$?" != "0" ]; then @@ -129,7 +130,6 @@ function do_commit { if [ -d "$TEMPLATE_BASE.d" ] || [ -a "$TEMPLATE_BASE.template" ]; then templatepkg -u $template $jailpath template_merge $jailpath - template_svn_commit `dirname $TEMPLATE_BASE` fi fi @@ -144,6 +144,7 @@ elif echo $1 | grep -q -e "^--"; then 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 @@ -153,5 +154,6 @@ else fi # main jail do_commit / main + template_svn_commit $BASE_CONF/templates fi |