aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2016-03-22 22:56:35 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2016-03-22 22:56:35 -0400
commit6967b767f7e9b81a5488cd192935b995c36f4c44 (patch)
tree5bdadbf8e960da08571ab83687abf8ac695bf95e
parentc56974f04e73b5030baacd9fc955b8e025606cb5 (diff)
downloadcbc-recipes-6967b767f7e9b81a5488cd192935b995c36f4c44.tar.gz
Fix purge_path call; remove noarch (did not work)
-rw-r--r--iraf/iraf.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/iraf/iraf.ini b/iraf/iraf.ini
index 1516e67..6504cf0 100644
--- a/iraf/iraf.ini
+++ b/iraf/iraf.ini
@@ -18,7 +18,6 @@ url:
[build]
number: 0
-noarch: True
detect_binary_files_with_prefix: False [osx]
binary_relocation: False [osx]
@@ -88,7 +87,9 @@ linux:
rm -rf x11iraf
export TERM=xterm
- export PATH=`purge_path /sw`
+ if [[ $$PLATFORM == "osx" ]]; then
+ test -d /sw && export PATH=`purge_path /sw`
+ fi
export iraf=$$PREFIX/iraf/
echo "Fixing c headers..."