summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-07-08 14:48:06 +0100
committerIan Lynagh <igloo@earth.li>2011-07-08 14:48:06 +0100
commitaa39056860a47026b253469f56d623dc6a25e196 (patch)
treeeffbdb590dd9d6e012350854abbb13afe889f326 /sync-all
parent85016d31bed8c051552e9fa67f33a260954452c8 (diff)
downloadhaskell-aa39056860a47026b253469f56d623dc6a25e196.tar.gz
Fix "./sync-all get"
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all4
1 files changed, 3 insertions, 1 deletions
diff --git a/sync-all b/sync-all
index 519c02aa6e..6c4396534a 100755
--- a/sync-all
+++ b/sync-all
@@ -316,7 +316,9 @@ sub scmall {
scm (".", $scm, "get", $get_mode, $path, $localpath, @args);
}
else {
- scm (".", $scm, "clone", $path, $localpath, @args, $bare_flag);
+ my @argsWithBare = @args;
+ push @argsWithBare, $bare_flag if $bare_flag;
+ scm (".", $scm, "clone", $path, $localpath, @argsWithBare);
scm ($localpath, $scm, "config", "core.ignorecase", "true");
}
next;