diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-31 14:22:54 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-31 14:22:54 -0500 |
commit | 3190d616c3b61ba7f173dba1e46af701bbf2e34c (patch) | |
tree | e816864a7a1a2c111bb1cc88e1f63900117c9be4 /etc/hstdp-2018.3a/pkgs | |
parent | f17f08d418e285d28b9b414b657e287556566497 (diff) | |
download | docker-pipeline-3190d616c3b61ba7f173dba1e46af701bbf2e34c.tar.gz |
Refactor all
Diffstat (limited to 'etc/hstdp-2018.3a/pkgs')
-rw-r--r-- | etc/hstdp-2018.3a/pkgs/002-hstcal.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/etc/hstdp-2018.3a/pkgs/002-hstcal.sh b/etc/hstdp-2018.3a/pkgs/002-hstcal.sh index 8b4ab4f..fe45351 100644 --- a/etc/hstdp-2018.3a/pkgs/002-hstcal.sh +++ b/etc/hstdp-2018.3a/pkgs/002-hstcal.sh @@ -3,14 +3,16 @@ name=hstcal version=2.2.0 url="https://github.com/spacetelescope/${name}" +# Grab a version of WAF that isn't broken +curl -o waf https://waf.io/waf-2.0.12 +chmod +x waf + git clone "${url}" pushd "${name}" &>/dev/null - # Grab a version of WAF that isn't broken - curl -o waf https://waf.io/waf-2.0.12 - chmod +x waf + git checkout "${version}" # Build / Install - ./waf configure --prefix=${PREFIX} --release-with-symbols --with-cfitsio=${PREFIX} - ./waf build - ./waf install + ../waf configure --prefix=${PREFIX} --release-with-symbols --with-cfitsio=${PREFIX} + ../waf build + ../waf install popd &>/dev/null |