Changeset 22496
- Timestamp:
- 2010-07-26T11:32:05+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/open-office/trunk/setup.bat
r22250 r22496 2 2 pushd "%CD%" 3 3 CD /D "%~dp0" 4 set GSDLLANG=en 4 5 5 set extdesc=the OpenOffice Extension 6 6 … … 34 34 :Success 35 35 36 set fulldir=%~dp0 37 38 :: strip off everything up to (and including) ext dir 39 set extdir=%fulldir:*ext\=% 40 41 :: remove trailing slash 42 set extdir=%extdir:\=% 43 36 44 if "x%GSDLEXTS%" == "x" ( 37 set GSDLEXTS= open-office45 set GSDLEXTS=%extdir% 38 46 ) else ( 39 set GSDLEXTS=%GSDLEXTS%: open-office47 set GSDLEXTS=%GSDLEXTS%:%extdir% 40 48 ) 41 49 42 50 echo +Your environment is now setup for %extdesc% 43 51 52 :: Back to delayed expansion to avoid problems with environment 53 :: variables with brackets in them, such as "Program Files (x86)" 54 55 44 56 :End 45 57
Note:
See TracChangeset
for help on using the changeset viewer.