]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Do not use RELATIVE_PATH on git action
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Feb 2014 16:41:01 +0000 (13:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Feb 2014 16:41:01 +0000 (13:41 -0300)
ChangeLog
lib/keyringer/actions/git

index 71f541dcaccb95254ad823a6f1d31c81b94f0e50..67b040718844d99803a6ede75135c198cfd54edd 100644 (file)
--- 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>
index 108cceacc65e79748612b808422411ba88136091..d4e7aa439d1842dcd2b8e1acaa66939586b5155c 100755 (executable)
@@ -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"