[fix] previous patch mistakely remove variable name

This commit is contained in:
Laurent Peuch 2018-01-15 22:59:20 +01:00 committed by GitHub
parent 235a2ed2b7
commit e9c87da028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ ynh_replace_string () {
local delimit=@ local delimit=@
local match_string=$1 local match_string=$1
local replace_string=$2 local replace_string=$2
local workfile=$ local workfile=$3
# Escape the delimiter if it's in the string. # Escape the delimiter if it's in the string.
match_string=${match_string//${delimit}/"\\${delimit}"} match_string=${match_string//${delimit}/"\\${delimit}"}