From: Kevin Ollivier Date: Tue, 6 Sep 2005 00:18:35 +0000 (+0000) Subject: Adding --silent option so that you can batch build tarballs without being prompted... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a571cd8c60f49fac050013563b6e57e437c11b37 Adding --silent option so that you can batch build tarballs without being prompted to confirm values for each. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/distrib/msw/maketarballs b/distrib/msw/maketarballs index 2afa6e9a4a..69dfdabf28 100755 --- a/distrib/msw/maketarballs +++ b/distrib/msw/maketarballs @@ -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