Mercurial > hg > aboriginal
changeset 163:729dd17a7b74
Point uClibc at the 0.9.29-pre1 I just uploaded, teach include.sh about
stripping a -pre1 suffix, and tell download.sh to blank the symlink directory
before recreating it.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 13 Apr 2007 13:14:36 -0400 |
parents | fec886bc24b9 |
children | 5ff6e721fdbf |
files | download.sh include.sh |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/download.sh Wed Apr 11 18:21:51 2007 -0400 +++ b/download.sh Fri Apr 13 13:14:36 2007 -0400 @@ -6,6 +6,9 @@ # Dark blue echo -e "\e[34m" +rm -rf sources/build-links && +mkdir -p sources/build-links && + # Download everything we haven't already got a copy of. echo "=== Download source code." && @@ -16,7 +19,7 @@ SHA1=1b26729429000688b4052a1a79b27d427208634b \ download && -URL=http://www.uclibc.org/downloads/snapshots/uClibc-20070407.tar.bz2 \ +URL=http://www.uclibc.org/~landley/uClibc-0.9.29-pre1.tar.bz2 \ SHA1= \ download &&
--- a/include.sh Wed Apr 11 18:21:51 2007 -0400 +++ b/include.sh Fri Apr 13 13:14:36 2007 -0400 @@ -10,12 +10,12 @@ function download() { FILENAME=`echo "$URL" | sed 's .*/ '` - BASENAME=`echo "$FILENAME" | sed -r -e 's/-*([0-9\.]|-rc|[0-9][a-zA-Z])*(\.tar\..z2*)$/\2/'` + BASENAME=`echo "$FILENAME" | sed -r -e 's/-*([0-9\.]|-rc|-pre|[0-9][a-zA-Z])*(\.tar\..z2*)$/\2/'` if [ ! -z "$LINKDIR" ] then rm -f "$LINKDIR/$BASENAME" 2> /dev/null - ln -s "$FROMSRC/$FILENAME" "$LINKDIR/$BASENAME" + ln -s "$FROMSRC/$FILENAME" "$LINKDIR/$BASENAME" || dienow fi # The extra "" is so we test the sha1sum after the last download.