diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-12-10 14:15:51 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-12-10 14:15:51 -0200 |
commit | a8c1608fee73578358c3c17f76b44f0857c38ac0 (patch) | |
tree | 0888d5264a0fc1064b4930842e69475a00850b0c /lib/keyringer/actions/append | |
parent | f695f7810ac91d9cd3f576dcb58f41e75e720129 (diff) | |
download | keyringer-a8c1608fee73578358c3c17f76b44f0857c38ac0.tar.gz keyringer-a8c1608fee73578358c3c17f76b44f0857c38ac0.tar.bz2 |
Integrating shell with all commands (#34)
Diffstat (limited to 'lib/keyringer/actions/append')
-rwxr-xr-x | lib/keyringer/actions/append | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/actions/append b/lib/keyringer/actions/append index e307056..818a7ac 100755 --- a/lib/keyringer/actions/append +++ b/lib/keyringer/actions/append @@ -8,7 +8,7 @@ LIB="`dirname $0`/../functions" source "$LIB" || exit 1 # Get file -keyringer_get_file "$2" +keyringer_get_file "$RELATIVE_PATH/$2" # Only display directions if we're running append, not append-batch if [ "$BASENAME" == "append" ]; then @@ -17,4 +17,4 @@ fi # Append content to an existing secret ( keyringer_exec decrypt "$BASEDIR" "$FILE" && cat ) | \ - keyringer_exec encrypt-batch $BASEDIR $FILE + keyringer_exec encrypt-batch "$BASEDIR" "$FILE" |