Mercurial > hg > aboriginal
comparison more/build-control-images.sh @ 1262:f5c448622393
Teach build-control-images.sh to call the new subdirectory format builds (with integrated patch directories and file trees and such).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 07 Oct 2010 23:55:46 -0500 |
parents | e104d771ca17 |
children | a3abaabac98e |
comparison
equal
deleted
inserted
replaced
1261:e093423880fc | 1262:f5c448622393 |
---|---|
7 blank_tempdir build/control-images | 7 blank_tempdir build/control-images |
8 | 8 |
9 # Iterate through sources/native-builds and run each script, writing output | 9 # Iterate through sources/native-builds and run each script, writing output |
10 # to build/control-images/$SCRIPTNAME.hdc | 10 # to build/control-images/$SCRIPTNAME.hdc |
11 | 11 |
12 for i in sources/native-builds/*.sh | 12 for i in sources/native-builds/{*.sh,*/make-control-image.sh} |
13 do | 13 do |
14 SCRIPTNAME=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@') | 14 SCRIPTNAME=$(echo $i | sed 's@sources/native-builds/\([^./]*\).*@\1@') |
15 # Forking doesn't work yet due to extract collisions with the same package | 15 # Forking doesn't work yet due to extract collisions with the same package |
16 #maybe_fork "$i build/control-images/$SCRIPTNAME.hdc | maybe_quiet" | 16 #maybe_fork "$i build/control-images/$SCRIPTNAME.hdc | maybe_quiet" |
17 $i build/control-images/$SCRIPTNAME.hdc | maybe_quiet | 17 $i build/control-images/$SCRIPTNAME.hdc | maybe_quiet |
18 done | 18 done |