From a15d9c48b3677da48cba37d211fad9f4881f5bb8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 15 May 2022 00:24:02 +0100 Subject: fixed basename usage in validate --- src/validate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/validate.sh b/src/validate.sh index 7087fba..6b64616 100644 --- a/src/validate.sh +++ b/src/validate.sh @@ -48,7 +48,7 @@ keyimport () { # account for a glob input set +o noglob for key in ${KEYCHAIN_DIR}/$keyname.pub; do - name=$(basename -s .pub $key) + name=$(basename $key .pub) cp $key $keychain printf "${GREEN}Imported ${LIGHT_GREEN}$name ${GREEN}to ${SYSROOT}\n" done -- cgit v1.2.1