diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-03 11:38:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-03 11:38:31 +0000 |
commit | 23953244a89e435f000da7bf1c5d84df588f2233 (patch) | |
tree | bf15391a7772027678b998126f40c47ea832d291 /package/utils/busybox/convert_menuconfig.pl | |
parent | 182dd0db161ac84691ef0acae832c7eb0c57d622 (diff) | |
download | upstream-23953244a89e435f000da7bf1c5d84df588f2233.tar.gz upstream-23953244a89e435f000da7bf1c5d84df588f2233.tar.bz2 upstream-23953244a89e435f000da7bf1c5d84df588f2233.zip |
busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48078
Diffstat (limited to 'package/utils/busybox/convert_menuconfig.pl')
-rwxr-xr-x | package/utils/busybox/convert_menuconfig.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/convert_menuconfig.pl b/package/utils/busybox/convert_menuconfig.pl index 7342fbd8a1..70518809aa 100755 --- a/package/utils/busybox/convert_menuconfig.pl +++ b/package/utils/busybox/convert_menuconfig.pl @@ -41,7 +41,7 @@ while (<FIND>) { undef $cur; undef $default_set; } - $line =~ s/^(\s*source\s+)/$1package\/utils\/busybox\/config\//; + $line =~ s/^(\s*source\s+)([^\/]+\/)*([^\/]+\/[^\/]+)$/$1$3/; if ($line =~ /^(\s*range\s*)(\w+)(\s+)(\w+)\s*$/) { my $prefix = $1; my $r1 = $2; |