Support --jobs as an alias to -j in find-debuginfo.sh (RhBug:1518120)
authorMark Wielaard <mark@klomp.org>
Fri, 8 Dec 2017 12:46:16 +0000 (14:46 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 8 Dec 2017 12:46:16 +0000 (14:46 +0200)
make supports both, and as %_smp_mflags gets passed to both make and
find-debuginfo.sh now we better accept the same options for as make.

scripts/find-debuginfo.sh

index d8725ad008df0fe29fbb659930d66755ebee2c57..a7c2db0f9c33c010afe95b594e3ed031b811d6b4 100755 (executable)
@@ -182,6 +182,10 @@ while [ $# -gt 0 ]; do
   -j*)
     n_jobs=${1#-j}
     ;;
+  --jobs)
+    n_jobs=$2
+    shift
+    ;;
   -S)
     srcout=$2
     shift
This page took 0.063244 seconds and 5 git commands to generate.