diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-02-20 15:16:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-02-20 15:16:43 -0300 |
commit | 192c50775776887bfc16cb64dc5e4d6cbc25abd6 (patch) | |
tree | 001db931714ac4f2d4e42437c3dedd7a679539be /lib | |
parent | 1267fa1fe50dd9286bad294e674809479d03e68d (diff) | |
download | hydra-192c50775776887bfc16cb64dc5e4d6cbc25abd6.tar.gz hydra-192c50775776887bfc16cb64dc5e4d6cbc25abd6.tar.bz2 |
Fixes ACTION handling
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/misc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc index a3156a7..f086fb7 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -7,10 +7,6 @@ function hydra_set_env { export COMMIT="`( cd $APP_BASE && git log -n 1 --pretty=oneline 2> /dev/null | cut -d " " -f 1 )`" export CONFIG="$HOME/.hydra/config" - if [ -z "$ACTION" ]; then - export ACTION="$1" - fi - if [ "`whoami`" != 'root' ]; then SUDO="sudo" fi |