mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-23 04:13:02 +02:00
Add an scape for the "." characters on the sed expressions
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
@@ -12,6 +12,8 @@ while (<>) {
|
||||
|
||||
if ($from && $to) {
|
||||
printf "$from -> $to\n" if ($debug);
|
||||
$from =~ s/\./\\./g;
|
||||
$to =~ s/\./\\./g;
|
||||
$sed .= "\t-e 's,$from,$to,g' \\\n";
|
||||
$from = 0;
|
||||
$to = 0;
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user