summaryrefslogtreecommitdiff
path: root/lib/keyringer/actions/encrypt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/actions/encrypt')
-rwxr-xr-xlib/keyringer/actions/encrypt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/actions/encrypt b/lib/keyringer/actions/encrypt
index 0a40bc1..526eaa1 100755
--- a/lib/keyringer/actions/encrypt
+++ b/lib/keyringer/actions/encrypt
@@ -65,7 +65,7 @@ if [ ! -z "$3" ]; then
FILE="$BASEPATH"
fi
- keyringer_get_new_file $FILE
+ keyringer_get_new_file $RELATIVE_PATH/$FILE
if [ ! -e "$UNENCRYPTED_FILE" ]; then
echo "Error: cannot encrypt $UNENCRYPTED_FILE: path not found."
@@ -74,7 +74,7 @@ if [ ! -z "$3" ]; then
else
UNENCRYPTED_FILE="-"
shift
- keyringer_get_new_file $*
+ keyringer_get_new_file $RELATIVE_PATH/$*
fi
# Set recipients file