diff options
author | davidovski <david@davidovski.xyz> | 2022-05-15 00:24:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-15 00:24:02 +0100 |
commit | a15d9c48b3677da48cba37d211fad9f4881f5bb8 (patch) | |
tree | d25720cda2c82a86320933b9e775a0106de873e3 /src | |
parent | a95a578491b2f918c3363ea1b1489a65d4943ee5 (diff) |
fixed basename usage in validate
Diffstat (limited to 'src')
-rw-r--r-- | src/validate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |