scripts/kconfig.pl: Indicate which file we couldn't open

Signed-off-by: Daniel Colascione <dancol@dancol.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39327 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-01-19 17:27:04 +00:00
parent 8e8c4d76c3
commit c0a637de03

View File

@@ -29,7 +29,7 @@ sub load_config($$) {
my $mod_plus = shift;
my %config;
open FILE, "$file" or die "can't open file";
open FILE, "$file" or die "can't open file '$file'";
while (<FILE>) {
chomp;
/^$PREFIX(.+?)=(.+)/ and do {