From 756212a8bdb4192037f5c97dccbb84297f5c3337 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 13 Aug 2020 00:59:37 +0200 Subject: [PATCH 1/1] runone: +dt5 --- runone | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/runone b/runone index a31325e..2df2d54 100755 --- 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 + ln $srcrpm.dt.rpm $srcrpm.dt5.rpm 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 - $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 -- 1.8.3.1