[Rpm-maint] [rpm-software-management/rpm] Modified %{_smp_mflags} breaks find-debuginfo.sh (#630)

Panu Matilainen notifications at github.com
Thu Feb 14 15:26:26 UTC 2019


Anyway, find-debuginfo *could* be smarter about it's arguments, something like this ought to fix it:
```
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -190,9 +190,11 @@ while [ $# -gt 0 ]; do
     srcout=$2
     shift
     ;;
+  -*)
+    echo >&2 "warning: unknown option $1"
+    ;;
   *)
     BUILDDIR=$1
-    shift
     break
     ;;
   esac
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/630#issuecomment-463668701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190214/c78b9173/attachment.html>


More information about the Rpm-maint mailing list