Little correction.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@975 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -359,7 +359,7 @@ substitute_vars() {
|
|||||||
for VAR in $VARS; do
|
for VAR in $VARS; do
|
||||||
# Escape all / in VAR so that we can use / as seperator char for sed
|
# Escape all / in VAR so that we can use / as seperator char for sed
|
||||||
eval VALUE=\"\$$VAR\"
|
eval VALUE=\"\$$VAR\"
|
||||||
VALUE=$(echo "$VALUE" | sed 's,\([\&/]\),\\\1,g')
|
VALUE=$(echo "$VALUE" | $SED 's,\([\&/]\),\\\1,g')
|
||||||
cat << EOF
|
cat << EOF
|
||||||
s/@${VAR}@/${VALUE}/g
|
s/@${VAR}@/${VALUE}/g
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user