From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- unix/hlib/setup.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 unix/hlib/setup.sh (limited to 'unix/hlib/setup.sh') diff --git a/unix/hlib/setup.sh b/unix/hlib/setup.sh new file mode 100755 index 00000000..882bf828 --- /dev/null +++ b/unix/hlib/setup.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Allow a previously defined $iraf to be used. +if [ -z "$iraf" ]; then + export iraf=/iraf/iraf/ +fi + +# Allow a previously defined $IRAFARCH to be used. +if [ -z "$IRAFARCH" ]; then + export IRAFARCH=`$iraf/unix/hlib/irafarch.sh -actual` +fi +source $iraf/unix/hlib/irafuser.sh + +export PATH=$iraf/fakehome/bin:$iraf/bin:${PATH} + +# The world'd most obvious alias .... +alias iraf="xgterm -e cl &" + -- cgit