Files
spark/tools/ensure_lhome.cmd
T

9 lines
478 B
Batchfile

@set linuxhome=%homedrive%%homepath%\linux_home
@mkdir %linuxhome%\www\config 2>NUL
@mkdir %linuxhome%\.bts\conf 2>NUL
@mkdir %linuxhome%\.bts\data\licenses 2>NUL
@copy /y %~dp0\..\src\server\sparkd\md\platforms\mdp3_onixs\licenses\* %linuxhome%\.bts\data\licenses >NUL 2>NUL
:: add buildspark/runspark aliases to .bashrc
@if not exist %linuxhome%\.profile copy %~dp0\profile\.profile %linuxhome%
@if not exist %linuxhome%\.bashrc copy %~dp0\profile\.bashrc %linuxhome%