view more/build-control-images.sh @ 1164:3a959ee85558

Make NO_CLEANUP work with sources/sections/gcc.sh
author Rob Landley <rob@landley.net>
date Sat, 10 Jul 2010 23:38:51 -0500
parents 300e6d919d86
children e104d771ca17
line wrap: on
line source

#!/bin/bash

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

. sources/include.sh || exit 1

mkdir -p build/control-images || dienow
for i in sources/native-builds/*.sh
do
  SCRIPTNAME=$(echo $i | sed 's@.*/\(.*\)\.sh@\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
done