summaryrefslogtreecommitdiff
path: root/share/keyringer/decrypt
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-11-16 22:45:58 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-11-16 22:45:58 -0500
commitd9721fd16ad489d400dd085aa7ba8a4d83baf3d3 (patch)
treebcd76d55c4e08f97dfd1f21f53ebc6c47a8d7a1a /share/keyringer/decrypt
parentce0d1ee064f94c1fca8e94e1a36dcc17dde5451d (diff)
downloadkeyringer-d9721fd16ad489d400dd085aa7ba8a4d83baf3d3.tar.gz
keyringer-d9721fd16ad489d400dd085aa7ba8a4d83baf3d3.tar.bz2
first pass at escaping variables in bash -- i probably missed some
Diffstat (limited to 'share/keyringer/decrypt')
-rwxr-xr-xshare/keyringer/decrypt6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt
index a3adca7..c0584f2 100755
--- a/share/keyringer/decrypt
+++ b/share/keyringer/decrypt
@@ -5,10 +5,10 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
-source $LIB || exit 1
+source "$LIB" || exit 1
# Get file
-keyringer_get_file $2
+keyringer_get_file "$2"
# Decrypt
-gpg --quiet --use-agent -d $KEYDIR/$FILE
+gpg --quiet --use-agent -d "$KEYDIR/$FILE"