diff options
author | James E.H. Turner <jturner@gemini.edu> | 2016-10-17 15:11:06 -0400 |
---|---|---|
committer | James E.H. Turner <jturner@gemini.edu> | 2016-10-17 15:11:06 -0400 |
commit | 191b5a1b3216f5f6910a1dbf890e867b3e288266 (patch) | |
tree | a47b1e12914b8f6e1ef9689fc009586baa1c9e4c /iraf.tables/ur_mkpkg_cmd | |
parent | bac65ee7b0f73531047e395bd2ade806c2bfd208 (diff) | |
parent | f78a281784e8d1ab66a32fffdb19d3de50cf5c69 (diff) | |
download | astroconda-iraf-191b5a1b3216f5f6910a1dbf890e867b3e288266.tar.gz |
Merge selected recipes from iraf-build-james branch of astroconda-contrib
Diffstat (limited to 'iraf.tables/ur_mkpkg_cmd')
-rw-r--r-- | iraf.tables/ur_mkpkg_cmd | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/iraf.tables/ur_mkpkg_cmd b/iraf.tables/ur_mkpkg_cmd new file mode 100644 index 0000000..16f9e19 --- /dev/null +++ b/iraf.tables/ur_mkpkg_cmd @@ -0,0 +1,36 @@ +# 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 + +# (JT: I think stsci_iraf just does this to log the path to the version that +# gets picked up, for troubleshooting purposes:) +( +( +env | sort + +cl << ARF +tables +cd tables$ +! pwd +logout +ARF +) 2>&1 +) | sed 's/^/report: /' || status=1 + +# Execute the build. We probably don't need a subshell now that we're working +# directly in the tables subdirectory: +echo report: TABLES +mkpkg $IRAFARCH || status=1 +mkpkg -p tables 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 + |