summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-08-23 05:16:13 -0500
committerAustin Seipp <aseipp@pobox.com>2013-08-23 05:16:17 -0500
commitd0ed42fa732b38a11280b3740702b9272983340c (patch)
treef5d9de3193feb6f7ff5190b3d952dfde4bff8e2e /sync-all
parentfba693f937ee940b9f04fc6e8faf359063c3decb (diff)
downloadhaskell-d0ed42fa732b38a11280b3740702b9272983340c.tar.gz
Revert "Add support for external repositories to sync-all"
This reverts commit 2e41f2fa91c833a4420ac273254e49468044bc4b. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all8
1 files changed, 2 insertions, 6 deletions
diff --git a/sync-all b/sync-all
index 24b8e734ab..03e9be7052 100755
--- a/sync-all
+++ b/sync-all
@@ -316,10 +316,6 @@ sub gitall {
}
}
- # Some extra packages like 'async' may be external URLs,
- # e.g. git://... or http://...
- my $is_external_url = $remotepath =~ m/^(git:\/\/|https:\/\/|http:\/\/)/;
-
open RESUME, "> resume.tmp";
print RESUME "$localpath\n";
print RESUME "$doing\n";
@@ -328,12 +324,12 @@ sub gitall {
# We can't create directories on GitHub, so we translate
# "packages/foo" into "package-foo".
- if ($is_github_repo && !defined($is_external_url)) {
+ if ($is_github_repo) {
$remotepath =~ s/\//-/;
}
# Construct the path for this package in the repo we pulled from
- $path = $is_external_url ? $remotepath : "$repo_base/$remotepath";
+ $path = "$repo_base/$remotepath";
if ($command eq "get") {
next if $remotepath eq "-"; # "git submodule init/update" will get this later