for onelab
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 10 Jan 2008 16:12:35 +0000 (16:12 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 10 Jan 2008 16:12:35 +0000 (16:12 +0000)
build.sh

index ded4410..7ecf15a 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -62,6 +62,8 @@ pkgsfile=$(pl_locateDistroFile ../build/ ${pldistro} bootstrapfs.pkgs)
 # -k = exclude kernel* packages
 pl_root_mkfedora -k -f $pkgsfile ${vref} 
 
+# for distros that do not define bootstrapfs variants
+shopt -s nullglob
 for pkgs in ../build/config.${pldistro}/bootstrapfs-*.pkgs ; do
     NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)