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
This commit is contained in:
parent
ae6c8147aa
commit
a571cd8c60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user