Mercurial > hg > aboriginal
diff sources/download_functions.sh @ 1553:da21ff27331e
Add ability to check out repositories in packages, IGNORE_REPOS to build from tarballs anyway, a FAQ entry on it, and more/repo.sh to set up/update some of the common ones.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 01 Nov 2012 23:35:09 -0500 |
parents | c3b91b70cc42 |
children | 6a8114c148d1 |
line wrap: on
line diff
--- a/sources/download_functions.sh Tue Oct 30 19:55:35 2012 -0500 +++ b/sources/download_functions.sh Thu Nov 01 23:35:09 2012 -0500 @@ -58,6 +58,8 @@ mkdir -p "$SRCTREE" || dienow PACKAGE="$1" + ! is_in_list "PACKAGE" "$IGNORE_REPOS" && [ -d "$SRCDIR/$PACKAGE" ] && + return 0 # Announce to the world that we're cracking open a new package @@ -205,6 +207,8 @@ # Give package name, minus file's version number and archive extension. BASENAME="$(noversion "$FILENAME")" + ! is_in_list "$BASENAME" "$IGNORE_REPOS" && + [ -d "$SRCDIR/$BASENAME" ] && echo "Using $SRCDIR/$BASENAME" && return 0 # If environment variable specifies a preferred mirror, try that first.