From e8e59fe61c0b4aa003d6ab17517cb5a890caec07 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sat, 4 Mar 2006 03:41:22 +0000 Subject: [PATCH 1/1] Adding silent option for automatic builds. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/scripts/mac/tardist | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/distrib/scripts/mac/tardist b/distrib/scripts/mac/tardist index 943aad8f17..29a3abb620 100644 --- a/distrib/scripts/mac/tardist +++ b/distrib/scripts/mac/tardist @@ -203,6 +203,7 @@ fi SPINWXALL=0 SPINWXMAC=0 SPINEVERYTHING=0 +SILENT=0 usage() { @@ -212,6 +213,7 @@ usage() echo " --wxall Spin wxAll" echo " --wxmac Spin wxMac" echo " --all Spin EVERYTHING" + echo " --silent Don't ask for confirmation before running" exit 1 } @@ -223,6 +225,7 @@ for i in "$@"; do --wxall) SPINWXALL=1 ;; --wxmac) SPINWXMAC=1 ;; --all) SPINEVERYTHING=1 ;; + --silent) SILENT=1 ;; *) usage exit @@ -230,13 +233,14 @@ for i in "$@"; do esac done - -echo About to archive wxWidgets: -echo From $WXSRC -echo To $WXDEST -echo Version $WXVER -echo CTRL-C if this is not correct. -read dummy +if [ "$SILENT" = "0" ]; then + echo About to archive wxWidgets: + echo From $WXSRC + echo To $WXDEST + echo Version $WXVER + echo CTRL-C if this is not correct. + read dummy +fi doinit -- 2.45.2