Reenable --keepgoing option.
[fedora-mingw.git] / build-everything-in-mock.sh
index 12275e8..bdc81e3 100755 (executable)
@@ -3,6 +3,9 @@
 # These are the packages we don't want to build yet:
 nobuild=$(grep -v '^#' IGNORE)
 
+# Keep going (not safe).  Comment out for a safe build.
+keepgoing=--keepgoing
+
 rm -f */*.src.rpm
 
 # If any extra SRPMS need to be considered, list them here.  Otherwise
@@ -15,7 +18,7 @@ for dir in *; do
                if ! rpmbuild -bs --define "_sourcedir $(pwd)/$dir" --define "_srcrpmdir $(pwd)/$dir" $dir/*.spec; then
                  echo "Failed to create a source RPM in directory $dir."
                  echo "If you want to ignore this directory, you should add"
-                 echo "it to the 'nobuild' list in this script."
+                 echo "it to the IGNORE file in the top level directory."
                  exit 1
                fi
                srpms="$srpms $(pwd)/$dir/*.src.rpm"
@@ -28,4 +31,5 @@ smock/smock.pl \
   --arch=x86_64 \
   --distro=fedora-rawhide \
   --distro=fedora-10 \
+  $keepgoing \
   $srpms