mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
scripts/kconfig.pl: Indicate which file we couldn't open
Signed-off-by: Daniel Colascione <dancol@dancol.org> SVN-Revision: 39327
This commit is contained in:
parent
d513c07d2f
commit
2f5f498969
@ -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…
x
Reference in New Issue
Block a user