Skip to content

Commit c47b5ff

Browse files
authored
Combine: Fix config error caused by special character
1 parent e64161d commit c47b5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

combine.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ then
299299

300300
if [ -s /tmp/channels ]
301301
then
302-
sed -i 's/\\\[/[/g;s/\\\]/]/g;s/\\(/(/g;s/\\)/)/g;s/\\\&/\&/g' /tmp/channels
302+
sed -i 's/\\\[/[/g;s/\\\]/]/g;s/\\(/(/g;s/\\)/)/g;s/\\\&/\&/g;s/\\#/#/g' /tmp/channels
303303
sed -i 's/ "\[HORIZON/\n"\[HORIZON/g;s/ "\[ZATTOO/\n"\[ZATTOO/g;s/ "\[SWISSCOM/\n"\[SWISSCOM/g;s/ "\[TVPLAYER/\n"\[TVPLAYER/g;s/ "\[MAGENTATV/\n"\[MAGENTATV/g;s/ "\[RADIOTIMES/\n"\[RADIOTIMES/g;s/ "\[WAIPU.TV/\n"\[WAIPU.TV/g;s/ "\[TV-SPIELFILM/\n"\[TV-SPIELFILM/g;s/ "\[VODAFONE/\n"\[VODAFONE/g;s/ "\[TVTV/\n"\[TVTV/g;s/ "\[EXTERNAL/\n"\[EXTERNAL/g' /tmp/channels
304304

305305
if [ -e /tmp/setupname ]

0 commit comments

Comments
 (0)