This patch makes the kconfig.pl write a more informative error message
when it can't open its configuration file.
commit 376b4c4662f9ed1fff94ce78b46bf9ec76de0895
Author: Daniel Colascione <[email protected]>
Date: Wed Jan 15 00:22:25 2014 -0800
Indicate which file we couldn't open
diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl
index b91cdf3..45c565e 100755
--- a/scripts/kconfig.pl
+++ b/scripts/kconfig.pl
@@ -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 {
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel