Mercurial > hg > aboriginal
changeset 761:93149f07231f
Blank ARCH is a bad signal because host-tools.sh has that, so use a separate EXTRACT_ONLY variable.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 24 Jun 2009 13:02:03 -0500 |
parents | 2537f30c2397 |
children | 879cf963cdbb |
files | sources/functions.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/functions.sh Tue Jun 23 23:18:19 2009 -0500 +++ b/sources/functions.sh Wed Jun 24 13:02:03 2009 -0500 @@ -235,7 +235,7 @@ # Preemptively extract source packages? [ -z "$EXTRACT_ALL" ] && return 0 - ARCH="" setupfor "$(basename "$FILENAME")" + EXTRACT_ONLY=1 setupfor "$(basename "$FILENAME")" return $? fi @@ -377,7 +377,7 @@ extract "${PACKAGE}-"*.tar* || exit 1 # If all we want to do is extract source, bail out now. - [ -z "$ARCH" ] && return 0 + [ ! -z "$EXTRACT_ONLY" ] && return 0 # Set CURSRC CURSRC="$PACKAGE" @@ -452,7 +452,7 @@ then # Need to extract unstable packages to determine source control version. - ARCH="" setupfor "$1" >&2 + EXTRACT_ONLY=1 setupfor "$1" >&2 DIR="${BUILD}/sources/alt-$1" if [ -d "$DIR/.svn" ]