view more/ @ 1262:f5c448622393

Teach to call the new subdirectory format builds (with integrated patch directories and file trees and such).
author Rob Landley <>
date Thu, 07 Oct 2010 23:55:46 -0500
parents e104d771ca17
children a3abaabac98e
line wrap: on
line source


# Build all control images (for in build/control-images.

. sources/ || exit 1

blank_tempdir build/control-images

# Iterate through sources/native-builds and run each script, writing output
# to build/control-images/$SCRIPTNAME.hdc

for i in sources/native-builds/{*.sh,*/}
  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