Skip to content

Commit

Permalink
Weird string expansion order causes problems due to "(x86)" in the name.
Browse files Browse the repository at this point in the history
  • Loading branch information
angavrilov committed Jan 6, 2014
1 parent e470f4a commit 7e66841
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions KSP_win/monodevelop.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@echo off

if defined ProgramFiles(x86) (
set UnityDir=%ProgramFiles(x86)%\Unity
set UnityDir="%ProgramFiles(x86)%\Unity"
) else (
set UnityDir=%ProgramFiles%\Unity
set UnityDir="%ProgramFiles%\Unity"
)

set MONODEVELOP_SDB_TEST=1

"%UnityDir%\MonoDevelop\bin\MonoDevelop.exe"
%UnityDir%\MonoDevelop\bin\MonoDevelop.exe
4 changes: 2 additions & 2 deletions Tools/emveepee.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@echo off

if defined ProgramFiles(x86) (
set MonoDir=%ProgramFiles(x86)%\Mono-3.2.3
set MonoDir="%ProgramFiles(x86)%\Mono-3.2.3"
) else (
set MonoDir=%ProgramFiles%\Mono-3.2.3
set MonoDir="%ProgramFiles%\Mono-3.2.3"
)

rem set GTK2_RC_FILES=%ProgramFiles%\Unity\MonoDevelop\bin\gtkrc.win32
Expand Down

0 comments on commit 7e66841

Please sign in to comment.