aboutsummaryrefslogtreecommitdiff
path: root/hydra
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:16:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:16:43 -0300
commit192c50775776887bfc16cb64dc5e4d6cbc25abd6 (patch)
tree001db931714ac4f2d4e42437c3dedd7a679539be /hydra
parent1267fa1fe50dd9286bad294e674809479d03e68d (diff)
downloadhydra-192c50775776887bfc16cb64dc5e4d6cbc25abd6.tar.gz
hydra-192c50775776887bfc16cb64dc5e4d6cbc25abd6.tar.bz2
Fixes ACTION handling
Diffstat (limited to 'hydra')
-rwxr-xr-xhydra3
1 files changed, 3 insertions, 0 deletions
diff --git a/hydra b/hydra
index da78bc6..51c1468 100755
--- a/hydra
+++ b/hydra
@@ -57,7 +57,10 @@ export NAME="$BASENAME"
# Adjust hydra parameter
if [ "$BASENAME" == "hydra" ]; then
export HYDRA="$1"
+ export ACTION="$2"
shift
+else
+ export ACTION="$1"
fi
# Load