]> gitweb.fluxo.info Git - hydra.git/commitdiff
Set sudo config at hydractl deploy (2)
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Dec 2013 20:44:49 +0000 (18:44 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Dec 2013 20:44:49 +0000 (18:44 -0200)
share/hydractl/deploy

index b9201ea1632956ce93d5f77e54c332e8b307f9ef..588c9e6beb40380b97b8aac62ac94e03a06777cd 100755 (executable)
@@ -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