]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
jail-commit with SILENT env var
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 7 Apr 2007 19:26:47 +0000 (19:26 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sat, 7 Apr 2007 19:26:47 +0000 (19:26 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@315 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/src/jail-commit

index 9eaeecd4e6bec0074b1fcd8b7040ffd6228dd70d..6a8fcc003ac3940f9efb62b88ad42e46e1b62b85 100644 (file)
@@ -1,6 +1,12 @@
 simplepkg changelog
 ===================
 
+0.5pre5
+=======
+
+  - jail-commit
+    - SILENT env variable to decrease verbosity
+    
 0.5pre4
 =======
 
index e45f32bd25b83ffbe83a34e9ffaccef45e4be410..b801d120607ae4fc68499ab9a06bbced71435858 100755 (executable)
@@ -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