aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-24 18:44:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-24 18:44:49 -0200
commit87e269cb62d1d363636a5d26a442fef040e69c05 (patch)
tree5887b26b1ca4d7ccdebc1a2faa23eb27052b9b30 /share/hydractl
parentbfe06906726f12507a6c181c2ebcf7c8e6115100 (diff)
downloadhydra-87e269cb62d1d363636a5d26a442fef040e69c05.tar.gz
hydra-87e269cb62d1d363636a5d26a442fef040e69c05.tar.bz2
Set sudo config at hydractl deploy (2)
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/deploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/deploy b/share/hydractl/deploy
index b9201ea..588c9e6 100755
--- a/share/hydractl/deploy
+++ b/share/hydractl/deploy
@@ -41,7 +41,7 @@ fi
if [ ! -d /usr/local/hydra ]; then
$sudo git clone $ORIGIN /usr/local/hydra
- ( cd /usr/local/hydra ; sudo git reset --hard $COMMIT )
+ ( cd /usr/local/hydra ; $sudo git reset --hard $COMMIT )
$sudo ln -sf /usr/local/hydra/hydra /usr/local/sbin/hydra
$sudo ln -sf /usr/local/hydra/hydra /usr/local/sbin/hydractl
$sudo ln -sf /usr/local/hydra/hydras /usr/local/sbin/hydras