diff --git a/package/cargo_version.sh b/package/cargo_version.sh index 00da8f5d..cce82e60 100755 --- a/package/cargo_version.sh +++ b/package/cargo_version.sh @@ -1,4 +1,4 @@ #!/bin/bash INPUTFILE=$1 -cat $1 | grep version | head -n 1 | cut -d\" -f 2 +cat $1 | grep -w version | head -n 1 | cut -d\" -f 2