diff options
author | Remi Collet <remi@remirepo.net> | 2024-04-23 15:15:04 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-04-23 15:15:04 +0200 |
commit | 9976999105048d7cb4c99686b46bbe7a2cb1e43b (patch) | |
tree | 00aaabaf2e94e32348bb9f001a41b17d5d07d1e1 /mockrun | |
parent | 9e9e0d7dcdc77e261bc5d944c2121cef493b3e2b (diff) |
tweak output with RPM name
Diffstat (limited to 'mockrun')
-rwxr-xr-x | mockrun | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |