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:
meep-eep
2003-06-12 11:37:23 +00:00
parent 1b6ae67e38
commit 0e0435be76
+1 -1
View File
@@ -359,7 +359,7 @@ substitute_vars() {
for VAR in $VARS; do
# Escape all / in VAR so that we can use / as seperator char for sed
eval VALUE=\"\$$VAR\"
VALUE=$(echo "$VALUE" | sed 's,\([\&/]\),\\\1,g')
VALUE=$(echo "$VALUE" | $SED 's,\([\&/]\),\\\1,g')
cat << EOF
s/@${VAR}@/${VALUE}/g
EOF