Mercurial > hg > aboriginal
annotate more/build-control-images.sh @ 1157:300e6d919d86
Move "sources/more/" to just "more/", add a README explaining why those scripts are there, and adjust calls to them.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 05 Jul 2010 15:37:04 -0500 |
parents | sources/more/build-control-images.sh@94173723a272 |
children | e104d771ca17 |
rev | line source |
---|---|
1114
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 #!/bin/bash |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 # Iterate through sources/native-builds and run each script, writing output |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 # to build/control-images/$SCRIPTNAME.hdc |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 . sources/include.sh || exit 1 |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 mkdir -p build/control-images || dienow |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 for i in sources/native-builds/*.sh |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 do |
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 SCRIPTNAME=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@') |
1143
94173723a272
Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents:
1114
diff
changeset
|
12 # Forking doesn't work yet due to extract collisions with the same package |
94173723a272
Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents:
1114
diff
changeset
|
13 #maybe_fork "$i build/control-images/$SCRIPTNAME.hdc | maybe_quiet" |
94173723a272
Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents:
1114
diff
changeset
|
14 $i build/control-images/$SCRIPTNAME.hdc | maybe_quiet |
1114
be94bf38648b
Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 done |