From 9976999105048d7cb4c99686b46bbe7a2cb1e43b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Apr 2024 15:15:04 +0200 Subject: tweak output with RPM name --- mockrun | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mockrun') diff --git a/mockrun b/mockrun index 7f4a935..fddac87 100755 --- a/mockrun +++ b/mockrun @@ -33,7 +33,8 @@ do fi fi TXT="$(echo $CMD | sed -e 's/^.*-r //;s/ .*$//') " - echo -en "\r$(date +%X) ${TXT:0:10}" + RPM="$(echo $CMD | sed -e 's:\.rpm.*$:.rpm:;s:^.*/::')" + echo -en "\r$(date +%X) $RPM ${TXT:0:10}" $CMD --uniqueext=$PPID && echo " Ok." || echo " Error !" done -- cgit