diff options
Diffstat (limited to 'solenv/bin/cwstouched.btm')
-rwxr-xr-x | solenv/bin/cwstouched.btm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/solenv/bin/cwstouched.btm b/solenv/bin/cwstouched.btm index ba931a760371..33e442dbb51c 100755 --- a/solenv/bin/cwstouched.btm +++ b/solenv/bin/cwstouched.btm @@ -1,3 +1,11 @@ @echo off -set PYTHONPATH=%SOLARVERSION%\%OUTPATH%%PROEXT%\lib.%UPDMINOR%\python -python %SOLARENV%\bin\cwstouched.py
\ No newline at end of file +iff "%SOLARENV%" == "" then + echo No environment found, please use 'configure' or 'setsolar' + goto end +endiff +iff "%PERL%" == "" then + call perl5 -I%SOLARENV%\bin\modules %SOLARENV%\bin\cwstouched.pl %1& +else + call %PERL% -I%SOLARENV%\bin\modules %SOLARENV%\bin\cwstouched.pl %1& +endiff +:end |