Last change
on this file since 34339 was 34339, checked in by davidb, 4 years ago |
Some initial files to compile up essentia, used in the Mars extension to Greenstone
|
-
Property svn:executable
set to
*
|
File size:
1.5 KB
|
Rev | Line | |
---|
[34339] | 1 | @echo off
|
---|
| 2 | pushd "%CD%"
|
---|
| 3 | CD /D "%~dp0"
|
---|
| 4 |
|
---|
| 5 | echo Windows MARS EXT SETUP is *UNTESTED*
|
---|
| 6 | echo Windows MARS EXT SETUP is *UNTESTED*
|
---|
| 7 | echo Windows MARS EXT SETUP is *UNTESTED*
|
---|
| 8 | echo Windows MARS EXT SETUP is *UNTESTED*
|
---|
| 9 |
|
---|
| 10 | set extdesc=the Music Affect Recommender System (MARS) Extension
|
---|
| 11 |
|
---|
| 12 | if "%OS%" == "Windows_NT" goto WinNT
|
---|
| 13 | if "%OS%" == "" goto Win95
|
---|
| 14 | if "%GSDLLANG%" == "en" echo Setup failed - your PATH has not been set
|
---|
| 15 | if "%GSDLLANG%" == "es" echo No se pudo realizar la configuraci¢n - no se ha establecido la RUTA.
|
---|
| 16 | if "%GSDLLANG%" == "fr" echo Echc de l'installation - votre variable PATH n'a pas t ajuste
|
---|
| 17 | if "%GSDLLANG%" == "ru" echo áâ ®¢ª ¥ 〠« áì - ¥ ¡ë« ãáâ ®¢«¥
|
---|
| 18 | goto End
|
---|
| 19 |
|
---|
| 20 | :WinNT
|
---|
| 21 | set GEXT_MARS=%CD%
|
---|
| 22 | set GEXT_MARS_INSTALLED=%GEXT_MARS%\windows
|
---|
| 23 |
|
---|
| 24 | set PATH=%GEXT_MARS_INSTALLED%\bin;%GEXT_MARS%\bin\script;%PATH%
|
---|
| 25 |
|
---|
| 26 | set GS_CP_SET=yes
|
---|
| 27 | goto Success
|
---|
| 28 |
|
---|
| 29 | :Win95
|
---|
| 30 | if "%1" == "SetEnv" goto Win95Env
|
---|
| 31 | REM We'll invoke a second copy of the command processor to make
|
---|
| 32 | REM sure there's enough environment space
|
---|
| 33 | COMMAND /E:2048 /K %0 SetEnv
|
---|
| 34 | goto End
|
---|
| 35 |
|
---|
| 36 | :Win95Env
|
---|
| 37 | set GEXT_MARS=%CD%
|
---|
| 38 | set PATH=%GEXT_MARS_INSTALLED%\bin;%GEXT_MARS%\bin\script;%PATH%
|
---|
| 39 | set GS_CP_SET=yes
|
---|
| 40 | goto Success
|
---|
| 41 |
|
---|
| 42 | :Success
|
---|
| 43 |
|
---|
| 44 | set fulldir=%~dp0
|
---|
| 45 |
|
---|
| 46 | :: strip off everything up to (and including) ext dir
|
---|
| 47 | set extdir=%fulldir:*ext\=%
|
---|
| 48 |
|
---|
| 49 | :: remove trailing slash
|
---|
| 50 | set extdir=%extdir:\=%
|
---|
| 51 |
|
---|
| 52 | if "x%GSDLEXTS%" == "x" (
|
---|
| 53 | set GSDLEXTS=%extdir%
|
---|
| 54 | ) else (
|
---|
| 55 | set GSDLEXTS=%GSDLEXTS%:%extdir%
|
---|
| 56 | )
|
---|
| 57 |
|
---|
| 58 | echo +Your environment is now setup for %extdesc%
|
---|
| 59 |
|
---|
| 60 | :End
|
---|
| 61 |
|
---|
| 62 | popd |
---|
Note:
See
TracBrowser
for help on using the repository browser.