summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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