about summary refs log tree commit diff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25T10·44+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25T10·44+0000
commit68ae953d8a492061bcda7c4d7bf2f5b9432f791c (patch)
treed5e35a4fe76bf043539d8a49bb00e9e220fa364c /scripts/nix-push.in
parent76c971009149f73453ccec66392625f2b67f8785 (diff)
* Clean up calls to system().
Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r--scripts/nix-push.in2
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";
 }