commit a866f14e7cc37185cce877061a2337195d4b129c
parent 96192e4256e777241dc0404c16793ccb972ba8a3
Author: Kyle Milz <kyle@windows.krwm.net>
Date: Thu, 5 Jan 2017 22:32:53 -0800
wrap: use _ instead of % to guard substitution
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jamfile b/Jamfile
@@ -46,7 +46,7 @@ if ! $(NT) {
actions ReplaceToken
{
- perl -p -i.bak -e "s,%CITRUN_COMPILERS%,$(CITRUN_COMPILERS)," $(<)
+ perl -p -i.bak -e "s,_CITRUN_COMPILERS_,$(CITRUN_COMPILERS)," $(<)
$(RM) $(<).bak
}
diff --git a/wrap.bat b/wrap.bat
@@ -1,7 +1,7 @@
@ECHO off
SETLOCAL
-SET Path=%CITRUN_COMPILERS%;%Path%
+SET Path=_CITRUN_COMPILERS_;%Path%
CALL %*
EXIT /B %ERRORLEVEL%
ENDLOCAL
diff --git a/wrap.sh b/wrap.sh
@@ -1,3 +1,3 @@
-export PATH="%CITRUN_COMPILERS%:$PATH"
+export PATH="_CITRUN_COMPILERS_:$PATH"
exec $@