From 48ebe4527e5af974832bc39f15fcd46ac740effa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Feb 2005 11:40:19 +0000 Subject: * Better error reporting in readmanifest. * Use force flag in `mv' to prevent silly interactive questions (this happens with shared Nix stores). --- scripts/readmanifest.pm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/readmanifest.pm.in') 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; -- cgit 1.4.1