summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-16 20:31:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-16 20:31:47 -0300
commitdf97a807e2c13a5d020d72f07058904b60f19cfd (patch)
tree86e1b0989b6dcf4cef65504aaaa7eac7b7174b0f /lib
parentf63b965d14466197240a207509bddb9f204d64bc (diff)
downloadkeyringer-df97a807e2c13a5d020d72f07058904b60f19cfd.tar.gz
keyringer-df97a807e2c13a5d020d72f07058904b60f19cfd.tar.bz2
Edit: Unset RELATIVE_PATH before encrypting file
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/edit4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/actions/edit b/lib/keyringer/actions/edit
index a5f14d4..c9f3f12 100755
--- a/lib/keyringer/actions/edit
+++ b/lib/keyringer/actions/edit
@@ -59,9 +59,9 @@ wait
echo "Press any key when done using the file and you're sure that $APPNAME is closed."
read -s -n 1
-# Encrypt again
+# Encrypt again. Unset RELATIVE_PATH as it was already used to determine FILE path
export KEYRINGER_ADD_EXTENSION=false
-keyringer_exec encrypt "$BASEDIR" "$FILE" "$TMPWORK"
+RELATIVE_PATH="" keyringer_exec encrypt "$BASEDIR" "$FILE" "$TMPWORK"
# Check exit status
errcrypt="$?"