diff options
author | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-23 17:00:53 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-23 17:00:53 -0400 |
commit | e4caf4a2acbb18875b1064246554e4105449b5a3 (patch) | |
tree | b57ece5acd84c9a8c9235818b975a439c8ae3df9 /webbpsf-data/build.sh | |
download | astroconda-contrib-e4caf4a2acbb18875b1064246554e4105449b5a3.tar.gz |
Initial commit
Diffstat (limited to 'webbpsf-data/build.sh')
-rw-r--r-- | webbpsf-data/build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webbpsf-data/build.sh b/webbpsf-data/build.sh new file mode 100644 index 0000000..b512892 --- /dev/null +++ b/webbpsf-data/build.sh @@ -0,0 +1,13 @@ + +mkdir -p $PREFIX/share +mkdir -p $PREFIX/etc/conda/activate.d +mkdir -p $PREFIX/etc/conda/deactivate.d +cp -a `pwd` $PREFIX/share/webbpsf-data + +echo " +export WEBBPSF_PATH=$PREFIX/share/webbpsf-data +" > $PREFIX/etc/conda/activate.d/webbpsf-data.sh + +echo " +unset WEBBPSF_PATH +" > $PREFIX/etc/conda/deactivate.d/webbpsf-data.sh
\ No newline at end of file |