about summary refs log tree commit diff
path: root/scripts/readmanifest.pm.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/readmanifest.pm.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/readmanifest.pm.in')
-rw-r--r--scripts/readmanifest.pm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in
index 3e74c88f98b7..ea1c5a447063 100644
--- a/scripts/readmanifest.pm.in
+++ b/scripts/readmanifest.pm.in
@@ -35,7 +35,8 @@ sub readManifest {
     my $patches = shift;
     my $successors = shift;
 
-    open MANIFEST, "<$manifest";
+    open MANIFEST, "<$manifest"
+        or die "cannot open `$manifest': $!";
 
     my $inside = 0;
     my $type;