From: Silvio Rhatto Date: Sat, 16 Aug 2014 23:31:47 +0000 (-0300) Subject: Edit: Unset RELATIVE_PATH before encrypting file X-Git-Tag: 0.3.7^2~7 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=df97a807e2c13a5d020d72f07058904b60f19cfd;p=keyringer.git Edit: Unset RELATIVE_PATH before encrypting file --- diff --git a/ChangeLog b/ChangeLog index 87bf35f..e9be9aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-08-16 - Silvio Rhatto + Edit: Unset RELATIVE_PATH before encrypting file + New 'cp' action Reset 'expiry' on keyringer_check_expiration, reported and fixed 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="$?"