summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/sync6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/hydra/sync b/share/hydra/sync
index 489fbfc..2d59647 100755
--- a/share/hydra/sync
+++ b/share/hydra/sync
@@ -19,7 +19,11 @@ source $APP_BASE/lib/hydra/functions || exit 1
hydra_config_load
# Basic parameters.
-REPOSITORIES="bootless dns gitosis/public gitosis/private puppet"
+if [ -z "$1" ]; then
+ REPOSITORIES="bootless dns gitosis/public gitosis/private puppet"
+else
+ REPOSITORIES="$*"
+fi
# Sync each repository.
for repository in $REPOSITORIES; do