Skip to content
Snippets Groups Projects
Commit df97a807 authored by rhatto's avatar rhatto
Browse files

Edit: Unset RELATIVE_PATH before encrypting file

parent f63b965d
No related branches found
No related tags found
No related merge requests found
2014-08-16 - Silvio Rhatto <rhatto@riseup.net>
Edit: Unset RELATIVE_PATH before encrypting file
New 'cp' action
Reset 'expiry' on keyringer_check_expiration, reported and fixed
......
......@@ -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="$?"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment