Skip to content

Commit b8cc361

Browse files
authored
Merge pull request #3871 from cmitu/inifuncs-update
initfuncs: change `sed` separator for `iniGet`
2 parents 5d1e83b + e27de1e commit b8cc361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/inifuncs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function iniGet() {
152152
value_m="\([^\r]*\)"
153153
fi
154154

155-
ini_value="$(sed -n "s/^[ |\t]*$key[ |\t]*$delim_strip[ |\t]*$value_m.*/\1/p" "$file" | tail -1)"
155+
ini_value="$(sed -n "s#^[ |\t]*$key[ |\t]*$delim_strip[ |\t]*$value_m.*#\1#p" "$file" | tail -1)"
156156
}
157157

158158
# @fn retroarchIncludeToEnd()

0 commit comments

Comments
 (0)