mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-09 12:21:33 +00:00
busybox: fix handling of special characters in path when converting menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48077
This commit is contained in:
parent
67877462a2
commit
182dd0db16
@ -16,9 +16,10 @@ open FIND, "find \"$PATH\" -name Config.in |";
|
|||||||
while (<FIND>) {
|
while (<FIND>) {
|
||||||
chomp;
|
chomp;
|
||||||
my $input = $_;
|
my $input = $_;
|
||||||
s/^$PATH\///g;
|
my $output = $input;
|
||||||
s/sysdeps\/linux\///g;
|
my $replace = quotemeta($PATH);
|
||||||
my $output = $_;
|
$output =~ s/^$replace\///g;
|
||||||
|
$output =~ s/sysdeps\/linux\///g;
|
||||||
print STDERR "$input => $output\n";
|
print STDERR "$input => $output\n";
|
||||||
$output =~ /^(.+)\/[^\/]+$/ and system("mkdir -p $1");
|
$output =~ /^(.+)\/[^\/]+$/ and system("mkdir -p $1");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user