summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-20 13:47:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-20 13:47:50 -0300
commit324dc0c1433413f739bd64ed7eda0207658bc84f (patch)
treecd8eb0432ade5d4446f7949b26763a2911b7691f
parenta3061e30e6cfaef2bd40afd91866aac0f7062fa8 (diff)
downloadkeyringer-324dc0c1433413f739bd64ed7eda0207658bc84f.tar.gz
keyringer-324dc0c1433413f739bd64ed7eda0207658bc84f.tar.bz2
Fixed secret paths at mv action
-rw-r--r--ChangeLog4
-rwxr-xr-xlib/keyringer/actions/mv2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 67b0407..b753bc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
2014-02-20 - Silvio Rhatto <rhatto@riseup.net>
+ Fixed secret paths at mv action
+
Do not use RELATIVE_PATH on git action
- Fix test output at xclip action
+ Fixed test output at xclip action
2014-02-20 - 0.3 - Silvio Rhatto <rhatto@riseup.net>
diff --git a/lib/keyringer/actions/mv b/lib/keyringer/actions/mv
index aaf6772..daac7b0 100755
--- a/lib/keyringer/actions/mv
+++ b/lib/keyringer/actions/mv
@@ -25,4 +25,4 @@ if ! echo "$ORIG" | grep -q '*' && [ ! -e "$KEYDIR/$RELATIVE_PATH/$ORIG" ]; then
fi
# Run move command
-keyringer_exec git "$BASEDIR" mv $ORIG $FILE
+keyringer_exec git "$BASEDIR" mv "keys/$RELATIVE_PATH/$ORIG" "keys/$FILE"