aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-01-19 17:27:04 +0000
committerJohn Crispin <blogic@openwrt.org>2014-01-19 17:27:04 +0000
commitc0a637de039dff73ea4ed379e7eb385cf8d26e3d (patch)
treeee3560212ee51a4bf7f39454a7e46129d8f208bb /scripts
parent8e8c4d76c3a70a6ac872d25d508035a2cb4adce7 (diff)
downloadupstream-c0a637de039dff73ea4ed379e7eb385cf8d26e3d.tar.gz
upstream-c0a637de039dff73ea4ed379e7eb385cf8d26e3d.tar.bz2
upstream-c0a637de039dff73ea4ed379e7eb385cf8d26e3d.zip
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kconfig.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl
index b91cdf397a..45c565e7a9 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 {