From 3190d616c3b61ba7f173dba1e46af701bbf2e34c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 31 Jan 2019 14:22:54 -0500 Subject: Refactor all --- etc/hstdp-2018.3a/pkgs/002-hstcal.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'etc/hstdp-2018.3a/pkgs') 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 -- cgit