diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-25T10·44+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-25T10·44+0000 |
commit | 68ae953d8a492061bcda7c4d7bf2f5b9432f791c (patch) | |
tree | d5e35a4fe76bf043539d8a49bb00e9e220fa364c /scripts/nix-push.in | |
parent | 76c971009149f73453ccec66392625f2b67f8785 (diff) |
* Clean up calls to system().
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 f11cd1f46f83..02b1dec482a3 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -227,7 +227,7 @@ writeManifest $manifest, \%narFiles, \%patches; sub copyFile { my $src = shift; my $dst = shift; - system("cp '$src' '$dst.tmp'") == 0 or die "cannot copy file"; + system("@coreutils@/cp", $src, "$dst.tmp") == 0 or die "cannot copy file"; rename("$dst.tmp", "$dst") or die "cannot rename file"; } |