better linting in get_unencrypted_filename()

This commit is contained in:
Dan OBoyle
2015-07-03 17:27:17 -04:00
parent 97030854fa
commit a5bf8a5a81

View File

@@ -140,7 +140,7 @@ function get_pubring_path() {
# Output the unencrypted filename. # Output the unencrypted filename.
function get_unencrypted_filename() { function get_unencrypted_filename() {
echo "$(dirname "$1")"/"$(basename "$1" .gpg)" | sed -e 's#^\./##' echo "$(dirname "$1")/$(basename "$1" .gpg)" | sed -e 's#^\./##'
} }
# Output the encrypted filename. # Output the encrypted filename.