diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-01-14T14·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-01-14T14·20+0000 |
commit | 9a404e45c9e8257e2d353d569e189a4b003159b5 (patch) | |
tree | 7b3ec585266da60ccff35d38f7fe3ed7410088fa /scripts/nix-push.in | |
parent | 16f9b133ec8c1fc6226d486e5170dd3a43aa35a7 (diff) |
* Synchronous `nix-pull' with `nix-push'.
* Use curl instead of wget.
Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r-- | scripts/nix-push.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index 20883e01159b..1e1d905edcbe 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -159,7 +159,7 @@ foreach my $nararchive (@nararchives) { if (system("$curl --head $archives_get_url/$basename > /dev/null") != 0) { print STDERR " $nararchive\n"; - system("$curl --show-error --upload-file " . + system("$curl --show-error --upload-file " . "'$nararchive' '$archives_put_url/$basename' > /dev/null") == 0 or die "curl failed on $nararchive: $?"; } |