summaryrefslogtreecommitdiffstats
path: root/mockrun
diff options
context:
space:
mode:
Diffstat (limited to 'mockrun')
-rwxr-xr-xmockrun3
1 files changed, 2 insertions, 1 deletions
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