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:
parent
313b9b5f06
commit
ccf4ad3751
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue