aboutsummaryrefslogtreecommitdiff
path: root/util/pkgrepo
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /util/pkgrepo
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'util/pkgrepo')
-rwxr-xr-xutil/pkgrepo13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/pkgrepo b/util/pkgrepo
new file mode 100755
index 00000000..1f521c6f
--- /dev/null
+++ b/util/pkgrepo
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# PKGREPO - Get the repository base URI, either from the environment
+# variable 'IRAF_REPO' or the default.
+
+
+if [ -z "$IRAF_REPO" ]; then
+ /bin/echo "ftp://iraf.noao.edu/iraf/v216/REPO"
+else
+ /bin/echo $IRAF_REPO
+fi
+
+exit 0