summaryrefslogtreecommitdiff
path: root/share/keyringer/decrypt
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-16 14:23:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-16 14:23:42 -0300
commita490a1bf3e668674760cdda4e46f2e472fc3460c (patch)
tree4feb42b5478cff407d37824c6c68f55a121eed7a /share/keyringer/decrypt
parentae2c26a64065e48bc2f863d9f7648b7a49b072f7 (diff)
downloadkeyringer-a490a1bf3e668674760cdda4e46f2e472fc3460c.tar.gz
keyringer-a490a1bf3e668674760cdda4e46f2e472fc3460c.tar.bz2
Code cleanup
Diffstat (limited to 'share/keyringer/decrypt')
-rwxr-xr-xshare/keyringer/decrypt5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/keyringer/decrypt b/share/keyringer/decrypt
index ac4e25d..4a3ca8b 100755
--- a/share/keyringer/decrypt
+++ b/share/keyringer/decrypt
@@ -6,11 +6,10 @@
# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
source $LIB
+keyringer_set_env $*
-BASEDIR="$1"
+# Aditional parameters
FILE="`keyringer_filename $2`"
-KEYDIR="$BASEDIR/keys"
-BASENAME="`basename $0`"
if [ -z "$FILE" ]; then
echo "Usage: keyringer <keyring> `basename $0` <file>"