git://git.jankratochvil.net
/
massrebuild.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd4e538
)
dtneededsizerpmsone: exit->continue
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Wed, 2 Sep 2020 21:36:40 +0000
(23:36 +0200)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Wed, 2 Sep 2020 21:36:40 +0000
(23:36 +0200)
dtneededsizerpmsone
patch
|
blob
|
history
diff --git
a/dtneededsizerpmsone
b/dtneededsizerpmsone
index
56e6a44
..
d8eaed9
100755
(executable)
--- a/
dtneededsizerpmsone
+++ b/
dtneededsizerpmsone
@@
-16,8
+16,14
@@
for rpms in "$@";do
# Ignore.
continue
fi
# 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
if [ -e $srcrpm.dtneeded ];then
continue
fi