summaryrefslogtreecommitdiff
path: root/scripts/kconfig.pl
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-19 17:27:04 +0000
committerJohn Crispin <john@openwrt.org>2014-01-19 17:27:04 +0000
commit2f5f49896988770df916a0c00e6cb96b05d03151 (patch)
tree19321f96e8275166e89628abf58400214045f551 /scripts/kconfig.pl
parentd513c07d2fadba691fa780103e3de57574a3400d (diff)
downloadmtk-20170518-2f5f49896988770df916a0c00e6cb96b05d03151.zip
mtk-20170518-2f5f49896988770df916a0c00e6cb96b05d03151.tar.gz
mtk-20170518-2f5f49896988770df916a0c00e6cb96b05d03151.tar.bz2
scripts/kconfig.pl: Indicate which file we couldn't open
Signed-off-by: Daniel Colascione <dancol@dancol.org> SVN-Revision: 39327
Diffstat (limited to 'scripts/kconfig.pl')
-rwxr-xr-xscripts/kconfig.pl2
1 files changed, 1 insertions, 1 deletions
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 {