aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/module-update
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-24 15:35:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-24 15:35:19 -0300
commitd53219950d86589d024ce5c711db41ad12ebdfab (patch)
tree0e163b1e83cc6b038243b02e303cb2ff1a73f259 /share/hydra/module-update
parentc60f1f181a23b880053a6a76abc1d8ef78b9b980 (diff)
downloadhydra-d53219950d86589d024ce5c711db41ad12ebdfab.tar.gz
hydra-d53219950d86589d024ce5c711db41ad12ebdfab.tar.bz2
Allow work on different branches on module-{update,verify}
Diffstat (limited to 'share/hydra/module-update')
-rwxr-xr-xshare/hydra/module-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/module-update b/share/hydra/module-update
index 99dbd7f..f8a7ce3 100755
--- a/share/hydra/module-update
+++ b/share/hydra/module-update
@@ -34,7 +34,7 @@ function hydra_module_update {
fi
# Update the module
- ( cd $PUPPET/modules/$MODULE; git pull origin master )
+ ( cd $PUPPET/modules/$MODULE; git pull origin `git branch` )
# Verify the module
if ! hydra $HYDRA module-verify $MODULE; then