Make the timer optional while getting compiled rust crates

So we can use the script in other components that are using rust crates.

Related: RHEL-14546
This commit is contained in:
Tomas Popela 2023-10-04 11:44:38 +02:00 committed by Eike Rathke
parent 5ff71fc8ec
commit 6e3741561a
1 changed files with 1 additions and 1 deletions

View File

@ -11,4 +11,4 @@ while read LINE; do
name=`echo $LINE | cut -d\ -f1`
version=`echo $LINE | cut -d\ -f2|sed -e 's/^v//g'`
echo "Provides: bundled(crate($name)) = $version"
done < <(cat $1 |grep "[0-9]\+[ ]*Compiling [a-z]"|sed -e 's/.*Compiling //'g| sort|uniq)
done < <(cat $1 |grep "[0-9]*[ ]*Compiling [a-z]"|sed -e 's/.*Compiling //'g| sort|uniq)