Skip to content

Commit

Permalink
If PROGRAMFILES(x86) is not existed, OS_ARCH is empty, so it is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
sassy committed Jan 14, 2015
1 parent 99f9059 commit 9b605ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvmw.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ if not defined PATH_ORG (
set "PATH_ORG=%PATH%"
)

set IS64=FALSE
if exist "%PROGRAMFILES(X86)%" if not "%3" == "x86" (
set IS64=TRUE
)

if %IS64% == TRUE (
set OS_ARCH=64
) else (
set OS_ARCH=32
Expand Down

0 comments on commit 9b605ba

Please sign in to comment.