From 68ae953d8a492061bcda7c4d7bf2f5b9432f791c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 25 Sep 2006 10:44:27 +0000 Subject: * Clean up calls to system(). --- scripts/nix-pull.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/nix-pull.in') diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in index 67a7838f19f0..0af036f6f302 100644 --- a/scripts/nix-pull.in +++ b/scripts/nix-pull.in @@ -56,7 +56,7 @@ sub processURL { my $finalPath = "$stateDir/manifests/$baseName-$hash.nixmanifest"; - system("mv -f '$manifest' '$finalPath'") == 0 + system ("@coreutils@/mv", "-f", "$manifest", "$finalPath") == 0 or die "cannot move `$manifest' to `$finalPath"; } -- cgit 1.4.1