diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-07 19:26:47 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-07 19:26:47 +0000 |
commit | 35647e28309dfba85115193c49743c0996d87c40 (patch) | |
tree | 7de169970004eaeb133f8b399d89d6fedaedbc2c /trunk/src | |
parent | 7bde81a38cd91531dbf96bd90f513adefff1cf6f (diff) | |
download | simplepkg-35647e28309dfba85115193c49743c0996d87c40.tar.gz simplepkg-35647e28309dfba85115193c49743c0996d87c40.tar.bz2 |
jail-commit with SILENT env var
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@315 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/jail-commit | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index e45f32b..b801d12 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -135,7 +135,9 @@ function do_commit { template_merge $jailpath fi else - echo $BASENAME: template $template not found + if [ -z "$SILENT" ]; then + echo $BASENAME: template $template not found + fi return 1 fi @@ -155,6 +157,7 @@ elif [ ! -z "$1" ]; then template_svn_commit `dirname $TEMPLATE_BASE` fi else + SILENT="yes" if [ -e $JAIL_LIST ]; then for jailpath in `cat $JAIL_LIST`; do do_commit $jailpath |