Skip to content

Commit

Permalink
Merge pull request hakobera#35 from sassy/os_arch_issue
Browse files Browse the repository at this point in the history
If PROGRAMFILES(x86) is not existed, OS_ARCH is empty, so it is fixed.
  • Loading branch information
hakobera committed Jan 14, 2015
2 parents 99f9059 + 9b605ba commit c6dec83
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 c6dec83

Please sign in to comment.