X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=build-everything-in-mock.sh;h=bdc81e32d4c8cf3f495d5745afd223643521e547;hb=5154438846da746d8c64129b8c28c573c4d3c408;hp=12275e8ac1955b6e851bbfe22a0b6ac3db7edd11;hpb=65f6ca4b7b63df40dc07ba62dae4a175d89bb20c;p=fedora-mingw.git diff --git a/build-everything-in-mock.sh b/build-everything-in-mock.sh index 12275e8..bdc81e3 100755 --- a/build-everything-in-mock.sh +++ b/build-everything-in-mock.sh @@ -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