summaryrefslogtreecommitdiff
path: root/share/keyringer/decrypt
diff options
context:
space:
mode:
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>"