summaryrefslogtreecommitdiff
path: root/hstcal/build.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2016-12-07 11:10:37 -0500
committerGitHub <noreply@github.com>2016-12-07 11:10:37 -0500
commit310280afd385985bd33e0f4b968f7030ef34b338 (patch)
treee9ec84b2e665a82220ef741af0981a479a58bc6b /hstcal/build.sh
parent74b6754b17de4492d44dfb55ef26c8a05714913b (diff)
downloadastroconda-contrib-310280afd385985bd33e0f4b968f7030ef34b338.tar.gz
Force gcc usage under OS X (#122)
Diffstat (limited to 'hstcal/build.sh')
-rw-r--r--hstcal/build.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/hstcal/build.sh b/hstcal/build.sh
index 2507e5d..a10e61f 100644
--- a/hstcal/build.sh
+++ b/hstcal/build.sh
@@ -1,5 +1,7 @@
+if [[ `uname` == Darwin ]]; then
+ export CC=`which gcc`
+fi
-
-/usr/bin/python ./waf configure --destdir=$PREFIX
-/usr/bin/python ./waf build
-/usr/bin/python ./waf install \ No newline at end of file
+./waf configure --destdir=$PREFIX
+./waf build
+./waf install