summaryrefslogtreecommitdiff
path: root/src/validate.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-15 00:24:02 +0100
committerdavidovski <david@davidovski.xyz>2022-05-15 00:24:02 +0100
commita15d9c48b3677da48cba37d211fad9f4881f5bb8 (patch)
treed25720cda2c82a86320933b9e775a0106de873e3 /src/validate.sh
parenta95a578491b2f918c3363ea1b1489a65d4943ee5 (diff)
fixed basename usage in validate
Diffstat (limited to 'src/validate.sh')
-rw-r--r--src/validate.sh2
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