diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-02 15:48:47 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-02 15:48:47 +0000 |
commit | 563afb7fcc9d6aabec9b867372ea8d651fd12e89 (patch) | |
tree | e0445a99ac269a5df183ffed051a3b75ccce400c /scripts | |
parent | e78f753aa830e795fcb05920f30b0bd6d04bed0e (diff) |
* Use passive FTP in wget.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nix-prefetch-url.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in index f5539eb98..332290d40 100644 --- a/scripts/nix-prefetch-url.in +++ b/scripts/nix-prefetch-url.in @@ -10,7 +10,7 @@ print "fetching $url...\n"; my $out = "@prefix@/store/nix-prefetch-url-$$"; -system "@wget@ '$url' -O '$out'"; +system "@wget@ --passive-ftp '$url' -O '$out'"; $? == 0 or die "unable to fetch $url"; my $hash=`@bindir@/nix-hash --flat $out`; |