Skip to content

Commit

Permalink
replace OS_NAME with is_foo() in build script, for 0.5 (see #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 6, 2016
1 parent edf928e commit 8dfbdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cubvers="1.0.2"
tagfile = "installed_vers"
if !isfile(tagfile) || readchomp(tagfile) != "$cubvers $WORD_SIZE"
info("Installing Cubature $cubvers library...")
if OS_NAME == :Windows
if is_windows()
run(download_cmd("http://ab-initio.mit.edu/cubature/libcubature$WORD_SIZE-$cubvers.dll", "libcubature.dll"))
elseif OS_NAME == :Darwin
elseif is_apple()
run(download_cmd("http://ab-initio.mit.edu/cubature/libcubature$WORD_SIZE-$cubvers.dylib", "libcubature.dylib"))
else
if !isfile("cubature-$cubvers.tar.gz")
Expand Down

0 comments on commit 8dfbdaa

Please sign in to comment.