Mercurial > hg > aboriginal
comparison build.sh @ 1458:60f1087591ac
Add ability to specify a package to rebuild to build.sh with REBUILD= (and then dependencies take it from there to the system image).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 20 Oct 2011 02:02:10 -0500 |
parents | ee222555de52 |
children | 9c2b7ec6b0c7 |
comparison
equal
deleted
inserted
replaced
1457:36749928076e | 1458:60f1087591ac |
---|---|
57 # If you need to rebuild a stage (and everything after it), delete its | 57 # If you need to rebuild a stage (and everything after it), delete its |
58 # tarball out of "build" and re-run build.sh. | 58 # tarball out of "build" and re-run build.sh. |
59 | 59 |
60 not_already() | 60 not_already() |
61 { | 61 { |
62 [ "$REBUILD" == "$1" ] && zap "$1" | |
63 | |
62 if [ -f "$BUILD/$1-$ARCH.tar.bz2" ] | 64 if [ -f "$BUILD/$1-$ARCH.tar.bz2" ] |
63 then | 65 then |
64 echo "=== Skipping $1-$ARCH (already there)" | 66 echo "=== Skipping $1-$ARCH (already there)" |
65 return 1 | 67 return 1 |
66 fi | 68 fi |