summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-20 13:41:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-20 13:41:01 -0300
commita3061e30e6cfaef2bd40afd91866aac0f7062fa8 (patch)
treef2f2b96ef30d9d84bf3d3da6585c869c6608be65
parent82f7c084cf17fb8bc2b4d489c986e57f986b7a4d (diff)
downloadkeyringer-a3061e30e6cfaef2bd40afd91866aac0f7062fa8.tar.gz
keyringer-a3061e30e6cfaef2bd40afd91866aac0f7062fa8.tar.bz2
Do not use RELATIVE_PATH on git action
-rw-r--r--ChangeLog2
-rwxr-xr-xlib/keyringer/actions/git9
2 files changed, 3 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 71f541d..67b0407 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-02-20 - Silvio Rhatto <rhatto@riseup.net>
+ Do not use RELATIVE_PATH on git action
+
Fix test output at xclip action
2014-02-20 - 0.3 - Silvio Rhatto <rhatto@riseup.net>
diff --git a/lib/keyringer/actions/git b/lib/keyringer/actions/git
index 108ccea..d4e7aa4 100755
--- a/lib/keyringer/actions/git
+++ b/lib/keyringer/actions/git
@@ -13,12 +13,5 @@ CWD="`pwd`"
# Run git command
shift
-# Set working folder
-if [ ! -z "$RELATIVE_PATH" ]; then
- WORK="$KEYDIR/$RELATIVE_PATH"
-else
- WORK="$BASEDIR"
-fi
-
-mkdir -p "$WORK" && cd "$WORK" && git $*
+mkdir -p "$BASEDIR" && cd "$BASEDIR" && git $*
cd "$CWD"