projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
busybox: adjust convert_menuconfig.pl to emit relative path references for Config...
[openwrt/staging/wigyori.git]
/
package
/
utils
/
busybox
/
convert_menuconfig.pl
diff --git
a/package/utils/busybox/convert_menuconfig.pl
b/package/utils/busybox/convert_menuconfig.pl
index 7342fbd8a1bd7385694277bb24036f4a2cdd2de8..70518809aaed22a9fc707a3069ad1cd86e0d4edd 100755
(executable)
--- 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;