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:
252dd12
)
runone: +dt5
author
Jan Kratochvil
<jan.kratochvil@redhat.com>
Wed, 12 Aug 2020 22:59:37 +0000
(
00:59
+0200)
committer
Jan Kratochvil
<jan.kratochvil@redhat.com>
Wed, 12 Aug 2020 22:59:37 +0000
(
00:59
+0200)
runone
patch
|
blob
|
history
diff --git
a/runone
b/runone
index
a31325e
..
2df2d54
100755
(executable)
--- a/
runone
+++ b/
runone
@@
-51,13
+51,17
@@
for pkg in "$@";do
mv -f resultdir/*.src.rpm ../$srcrpm.dt.rpm
cd ..
test -e $srcrpm.dt.rpm
mv -f resultdir/*.src.rpm ../$srcrpm.dt.rpm
cd ..
test -e $srcrpm.dt.rpm
+ ln $srcrpm.dt.rpm $srcrpm.dt5.rpm
rm -rf $srcrpm.d
rm -rf $srcrpm.d
- for ext in "" ".dt.rpm";do
+ for ext in "" ".dt.rpm"
".dt5.rpm"
;do
resultdir=$PWD/$srcrpm$ext.resultdir
test ! -e $resultdir
set +e
# --chain instead of --rebuild as otherwise -a does not work
resultdir=$PWD/$srcrpm$ext.resultdir
test ! -e $resultdir
set +e
# --chain instead of --rebuild as otherwise -a does not work
- $mock --resultdir=$resultdir --nocheck $(if [ -n "$ext" ];then echo -a https://www.jankratochvil.net/t/rpmdts/;fi) --chain $srcrpm$ext &>$srcrpm$ext.mocklog
+ $mock --resultdir=$resultdir --nocheck $(
+ if [ "$ext" = ".dt.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts/ ;fi
+ if [ "$ext" = ".dt5.rpm" ];then echo -a https://www.jankratochvil.net/t/rpmdts5/;fi
+ ) --chain $srcrpm$ext &>$srcrpm$ext.mocklog
mockrc=$?
set -e
test -e $resultdir
mockrc=$?
set -e
test -e $resultdir