]> git.saurik.com Git - wxWidgets.git/commitdiff
Adding --silent option so that you can batch build tarballs without being prompted...
authorKevin Ollivier <kevino@theolliviers.com>
Tue, 6 Sep 2005 00:18:35 +0000 (00:18 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Tue, 6 Sep 2005 00:18:35 +0000 (00:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/maketarballs

index 2afa6e9a4a3d36ed05083dffb5f05cf61048ff27..69dfdabf28d08fd03748b0344100172e4efe46eb 100755 (executable)
@@ -245,6 +245,7 @@ SPINWXMGL=0
 SPINDOCS=0
 SPINEVERYTHING=0
 UPDATECVS=0
+SILENT=0
 
 usage()
 {
@@ -295,6 +296,7 @@ for i in "$@"; do
        --wxmotif) SPINWXMOTIF=1 ;;
        --all) SPINEVERYTHING=1 ;;
        --updatecvs) UPDATECVS=1 ;;
+       --silent) SILENT=1 ;;
        *)
            usage
            exit
@@ -306,8 +308,12 @@ echo About to make wxWidgets RPMs:
 echo   From    $WXSRC
 echo   To      $WXDEST
 echo   Version $WXVER
-echo CTRL-C if this is not correct.
-read dummy
+
+# we don't want this when batch building tarballs.
+if [ "$SILENT" = "0" ]; then
+  echo CTRL-C if this is not correct.
+  read dummy
+fi
 
 if [ "$UPDATECVS" = "1" ]; then
   doupdatecvs