diff options
author | Austin Seipp <aseipp@pobox.com> | 2013-08-23 05:16:13 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2013-08-23 05:16:17 -0500 |
commit | d0ed42fa732b38a11280b3740702b9272983340c (patch) | |
tree | f5d9de3193feb6f7ff5190b3d952dfde4bff8e2e /sync-all | |
parent | fba693f937ee940b9f04fc6e8faf359063c3decb (diff) | |
download | haskell-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-x | sync-all | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |