dtneededsizerpmsone: Do not fail on: .rpms.d
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 3 Sep 2020 19:40:12 +0000 (21:40 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 3 Sep 2020 19:40:12 +0000 (21:40 +0200)
dtneededsizerpmsone

index 3f7a752..6427d91 100755 (executable)
@@ -27,7 +27,10 @@ for rpms in "$@";do
   if [ -e $srcrpm.dtneeded ];then
     continue
   fi
-  test ! -e $srcrpm.rpms.d || (echo >&2 "$srcrpm.rpms.d";exit 1)
+  if [ -e $srcrpm.rpms.d ];then
+    echo >&2 "! $srcrpm.rpms.d"
+    continue
+  fi
   t=/tmp/dtneededsizerpms.$$
   rm -f $t
   mkdir $srcrpm.rpms.d