about summary refs log tree commit diff
path: root/scripts/nix-pull.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-08T11·40+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-08T11·40+0000
commit48ebe4527e5af974832bc39f15fcd46ac740effa (patch)
treec8a7621a591cc10111193fdb10136f275f44d7a5 /scripts/nix-pull.in
parentfbc434ee4c39e7516f3634371442899864786584 (diff)
* Better error reporting in readmanifest.
* Use force flag in `mv' to prevent silly interactive questions (this
  happens with shared Nix stores).

Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r--scripts/nix-pull.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in
index 8bc560ba5f5f..841e97e83109 100644
--- a/scripts/nix-pull.in
+++ b/scripts/nix-pull.in
@@ -51,7 +51,7 @@ sub processURL {
     
     my $finalPath = "$stateDir/manifests/$baseName-$hash.nixmanifest";
     
-    system("mv '$manifest' '$finalPath'") == 0
+    system("mv -f '$manifest' '$finalPath'") == 0
         or die "cannot move `$manifest' to `$finalPath";
 }