Skip to content

Commit b1c88c2

Browse files
author
nitrocaster
committed
xrbinprep.cmd: Fix BugTrap installation.
1 parent 701fba8 commit b1c88c2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

xrbinprep.cmd

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ if not exist %game_root% (
2020
for /f "delims=" %%a in ('chdir') do set git_root=%%a
2121
set git_root="%git_root%"
2222
pushd %game_root%
23-
set xbin=_bin_dbg_Win32 _bin_mix_Win32 _bin_rel_Win32
23+
set bin_dbg_win32=_bin_dbg_Win32
24+
set bin_mix_win32=_bin_mix_Win32
25+
set bin_rel_win32=_bin_rel_Win32
26+
set xbin=%bin_dbg_win32% %bin_mix_win32% %bin_rel_win32%
2427
for %%b in (%xbin%) do (
2528
if not exist %%b (
2629
mkdir %%b
@@ -36,9 +39,9 @@ for %%b in (%xbin%) do (
3639
cp %git_root%\src\Externals\OpenSSL\bin\libeay32.dll %%b\libeay32.dll
3740
cp %git_root%\src\Externals\OpenSSL\bin\ssleay32.dll %%b\ssleay32.dll
3841
)
39-
cp %git_root%\src\Externals\BugTrap\bin\BugTrapD.dll !xbin[0]!\BugTrap.dll
40-
cp %git_root%\src\Externals\BugTrap\bin\BugTrap.dll !xbin[1]!\BugTrap.dll
41-
cp %git_root%\src\Externals\BugTrap\bin\BugTrap.dll !xbin[2]!\BugTrap.dll
42+
cp %git_root%\src\Externals\BugTrap\bin\BugTrapD.dll %bin_dbg_win32%\BugTrap.dll
43+
cp %git_root%\src\Externals\BugTrap\bin\BugTrap.dll %bin_mix_win32%\BugTrap.dll
44+
cp %git_root%\src\Externals\BugTrap\bin\BugTrap.dll %bin_rel_win32%\BugTrap.dll
4245
if exist gamedata (
4346
echo gamedata already exists. Remove/rename it, then
4447
echo create soft link to "%git_root%\res\gamedata"

0 commit comments

Comments
 (0)