Ignore dead.package.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 1 Mar 2021 12:46:25 +0000 (12:46 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 1 Mar 2021 12:47:44 +0000 (12:47 +0000)
There's also a bug in goals near this point in the code.  The next
clause does "exit 1" but that does not cause the whole goals
invocation to exit.

Goalfile

index 7daba53..a67f2c3 100644 (file)
--- a/Goalfile
+++ b/Goalfile
@@ -203,6 +203,8 @@ pure function get-source-packages () returning strings = {
     for f in %packages; do
         if [ -f $f/%fedora-branch/$f.spec ]; then
             echo "$f"
+        elif [ -f $f/%fedora-branch/dead.package ]; then
+            echo "WARNING: $f: is a dead package, ignored" >&2
         else
             echo "$f: package is not checked out locally" >&2
             exit 1