From 192c50775776887bfc16cb64dc5e4d6cbc25abd6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 20 Feb 2017 15:16:43 -0300 Subject: Fixes ACTION handling --- lib/hydra/misc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3