diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 22:45:58 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-11-16 22:45:58 -0500 |
commit | d9721fd16ad489d400dd085aa7ba8a4d83baf3d3 (patch) | |
tree | bcd76d55c4e08f97dfd1f21f53ebc6c47a8d7a1a /share/keyringer/decrypt | |
parent | ce0d1ee064f94c1fca8e94e1a36dcc17dde5451d (diff) | |
download | keyringer-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-x | share/keyringer/decrypt | 6 |
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" |