changeset 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 e093423880fc
children 82a4e3d3a5ff
files more/build-control-images.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/more/build-control-images.sh	Thu Oct 07 23:54:33 2010 -0500
+++ b/more/build-control-images.sh	Thu Oct 07 23:55:46 2010 -0500
@@ -9,9 +9,9 @@
 # Iterate through sources/native-builds and run each script, writing output
 # to build/control-images/$SCRIPTNAME.hdc
 
-for i in sources/native-builds/*.sh
+for i in sources/native-builds/{*.sh,*/make-control-image.sh}
 do
-  SCRIPTNAME=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@')
+  SCRIPTNAME=$(echo $i | sed 's@sources/native-builds/\([^./]*\).*@\1@')
   # Forking doesn't work yet due to extract collisions with the same package
   #maybe_fork "$i build/control-images/$SCRIPTNAME.hdc | maybe_quiet"
   $i build/control-images/$SCRIPTNAME.hdc | maybe_quiet