aboutsummaryrefslogtreecommitdiff
path: root/iraf.stecf/ur_mkpkg_cmd
diff options
context:
space:
mode:
authorJames E.H. Turner <jturner@gemini.edu>2016-09-30 13:38:44 -0400
committerJames E.H. Turner <jturner@gemini.edu>2016-09-30 13:38:44 -0400
commita66143a3e1d020f1beb93ae3731ca2557a00f4c2 (patch)
treea65c450c5d05c81424ee8f8f9322f409df717113 /iraf.stecf/ur_mkpkg_cmd
parent708688dfa7293de3f7a93192a19721580fc54c84 (diff)
downloadastroconda-iraf-a66143a3e1d020f1beb93ae3731ca2557a00f4c2.tar.gz
Add STECF package (similar to TABLES & STSDAS).
Diffstat (limited to 'iraf.stecf/ur_mkpkg_cmd')
-rw-r--r--iraf.stecf/ur_mkpkg_cmd21
1 files changed, 21 insertions, 0 deletions
diff --git a/iraf.stecf/ur_mkpkg_cmd b/iraf.stecf/ur_mkpkg_cmd
new file mode 100644
index 0000000..2216941
--- /dev/null
+++ b/iraf.stecf/ur_mkpkg_cmd
@@ -0,0 +1,21 @@
+# In Ureka, this script used to call make_all from the stsci_iraf tarball but
+# in AstroConda, the applicable parts of make_all are instead included here, to
+# accommodate stsci_iraf being split into separate conda packages:
+
+status=0
+
+#ls -la
+pwd
+
+# Execute the build. We probably don't need a subshell now that we're working
+# directly in the subdirectory:
+echo report: STECF
+mkpkg $IRAFARCH || status=1
+mkpkg -p tables -p stsdas update || status=1
+chmod g+r */*.e || status=1
+
+# Proprietary code now gets removed by build_iraf_package. For stsci_iraf the
+# conda recipe copies the (separately-maintained) list to the right place first.
+
+exit $status
+