Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

If PROGRAMFILES(x86) is not existed, OS_ARCH is empty, so it is fixed. #35

Merged
merged 1 commit into from Jan 14, 2015

Conversation

sassy
Copy link
Contributor

@sassy sassy commented Jan 14, 2015

occurred error in checking OS_ARCH.
If %PROGRAMFILES(X86)% is not exited, ignore else statement.
so OS_ARCH is empty.

if X if Y (
   foo
) else (
  bar
)

same as

if X (
  if Y (
     foo
  ) else (
     bar
  )
)

therefore not run bar if X is false.

This code is fixed above problem.

hakobera added a commit that referenced this pull request Jan 14, 2015
If PROGRAMFILES(x86) is not existed, OS_ARCH is empty, so it is fixed.
@hakobera hakobera merged commit c6dec83 into hakobera:master Jan 14, 2015
@hakobera
Copy link
Owner

@sassy Thanks 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants