From 6e52647c39b297d32efa374bae7199cdaa494e4d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 23 May 2010 04:49:42 -0700 Subject: [PATCH] Rename DEFAULT_STAGE0 to STAGE0. --- etc/run-three-stages | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/run-three-stages b/etc/run-three-stages index ec22eb873..7cc0e275e 100755 --- a/etc/run-three-stages +++ b/etc/run-three-stages @@ -50,11 +50,11 @@ fi case $(uname -s) in Darwin) - : ${DEFAULT_STAGE0:=macosx} + : ${STAGE0:=macosx} : ${COPY:="cp -pR"} ;; Linux) - : ${DEFAULT_STAGE0:=linux} + : ${STAGE0:=linux} : ${COPY:="cp -a"} ;; *) @@ -72,7 +72,7 @@ run_stage () find_stage stage$((N-1)) rm -rf ${STAGE} ${COPY} src ${STAGE} - (set -e; cd ${STAGE}; ./Setup.sh; ./configure "${CONFIG_ARGS[@]}"; make) + (set -e; cd ${STAGE}; ./Setup.sh && ./configure "${CONFIG_ARGS[@]}" && make) if ! [[ -f ${STAGE}/lib/all.com ]]; then echo "${STAGE} failed" exit 1 @@ -84,7 +84,7 @@ find_stage () find_build_stage "${1}" && return 0 if [[ ${1} == stage0 ]]; then find_dist_stage "${1}" && return 0 - find_build_stage "${DEFAULT_STAGE0}" && return 0 + find_build_stage "${STAGE0}" && return 0 fi echo "Unable to find ${1} executable" >&2 exit 1 -- 2.25.1