mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Copy env.bat file from adm/templates
This commit is contained in:
parent
79104795a1
commit
31dfc19fcb
@ -7,6 +7,8 @@ SET "OLD_PATH=%PATH%"
|
|||||||
|
|
||||||
if exist "%~dp0env.bat" (
|
if exist "%~dp0env.bat" (
|
||||||
call "%~dp0env.bat"
|
call "%~dp0env.bat"
|
||||||
|
) else (
|
||||||
|
type "%~dp0adm\templates\env.bat" | findstr /i /v "__CASROOT__" > "%~dp0env.bat"
|
||||||
)
|
)
|
||||||
|
|
||||||
set "TCL_EXEC=tclsh.exe"
|
set "TCL_EXEC=tclsh.exe"
|
||||||
|
@ -9,6 +9,9 @@ anOldDyLd="$DYLD_LIBRARY_PATH"
|
|||||||
|
|
||||||
# go to the script directory
|
# go to the script directory
|
||||||
aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
|
aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
|
||||||
|
if [ ! -e "${aScriptPath}/env.sh" ]; then
|
||||||
|
cat ${aScriptPath}/adm/templates/env.sh | sed -e '/__CASROOT__/d' > ${aScriptPath}/env.sh
|
||||||
|
fi
|
||||||
|
|
||||||
aSystem=`uname -s`
|
aSystem=`uname -s`
|
||||||
aTarget="$1"
|
aTarget="$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user