From: Trevor Woerner <[email protected]> Change the wording of the "NOQUIT" command-line argument to better match the command-line arguments of "make".
Signed-off-by: Trevor Woerner <[email protected]> --- build.sh | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index c2f83a5..d7ea75e 100755 --- a/build.sh +++ b/build.sh @@ -89,7 +89,7 @@ errout() { } failed() { - if [ -n "${NOQUIT}" ]; then + if [ -n "$KEEPGOING" ]; then errout "***** $1 failed on $2/$3" failed_components+="$2/$3 " else @@ -769,8 +769,8 @@ usage() { echo " file can be used for resuming with -r." echo " -g : build with debug information" echo " -h | --help : display this help and exit successfully" + echo " -k | --keep-going : do not stop after an error" echo " -l : build libraries only (i.e. no drivers, no docs, etc.)" - echo " -n : do not quit after error; just print error message" echo " -o module/component : build just this component" echo " -p : run git pull on each component" echo " -r module/component : resume building with this component" @@ -791,7 +791,7 @@ DIR_CONFIG="." LIB_ONLY=0 # Process command line args -CMDLINE=`getopt -o abcdDf:ghlno:pr:s:L --long check,clone,help,autoresume: -n $0 -- "$@"` +CMDLINE=`getopt -o abcdDf:ghklo:pr:s:L --long check,clone,help,autoresume:,keep-going -n $0 -- "$@"` if [ $? != 0 ]; then errout "getopt(1) invocation error" exit 1 @@ -834,12 +834,12 @@ while [ 1 ]; do usage exit 0 ;; + -k|--keep-going) + KEEPGOING=1 + ;; -l) LIB_ONLY=1 ;; - -n) - NOQUIT=1 - ;; -o) shift RESUME=$1 -- 1.7.3.rc2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
