From 6e3741561a29a048305bbb5ea7042477a4edda12 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 4 Oct 2023 11:44:38 +0200 Subject: [PATCH] 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 --- get_rust_bundled_provides.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_rust_bundled_provides.sh b/get_rust_bundled_provides.sh index 618680e..65bca1c 100755 --- a/get_rust_bundled_provides.sh +++ b/get_rust_bundled_provides.sh @@ -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)