From 86228d944a9a83ab41a124d66b373b9c64a77cf3 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Sat, 5 Sep 2020 14:15:01 +0200 Subject: [PATCH] Fix crate name extraction in build check script (#141) --- scripts/gh-build-crate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gh-build-crate.sh b/scripts/gh-build-crate.sh index 9df7fbe6..fa94f82d 100755 --- a/scripts/gh-build-crate.sh +++ b/scripts/gh-build-crate.sh @@ -45,7 +45,7 @@ for file in $CHANGES; do # Checks passed, this is a crate we must test is_system=false - crate=$(basename $file .toml) + crate=$(basename $file .toml | cut -f1 -d-) echo Testing crate: $crate # Show info for the record