dtneededsizerpmsone: exit->continue
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Sep 2020 21:36:40 +0000 (23:36 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 2 Sep 2020 21:36:40 +0000 (23:36 +0200)
dtneededsizerpmsone

index 56e6a44..d8eaed9 100755 (executable)
@@ -16,8 +16,14 @@ for rpms in "$@";do
     # Ignore.
     continue
   fi
-  test -e $srcrpm.rpms || (echo >&2 "! $srcrpm.rpms";exit 1)
-  test -e $srcrpm.dt5.rpm.rpms || (echo >&2 "! $srcrpm.dt5.rpm.rpms";exit 1)
+  if [ ! -e $srcrpm.rpms ];then
+    echo >&2 "! $srcrpm.rpms"
+    continue
+  fi
+  if [ ! -e $srcrpm.dt5.rpm.rpms ];then
+    echo >&2 "! $srcrpm.dt5.rpm.rpms"
+    continue
+  fi
   if [ -e $srcrpm.dtneeded ];then
     continue
   fi