From 7fcb05b04aba642f679a3283208ef416125f0c06 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Mon, 29 Jun 2020 15:36:23 -0400 Subject: Abort if required CAL delivery tools are not available. (#128) --- jwstdp/utils/archive_cal_code.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jwstdp/utils/archive_cal_code.sh') diff --git a/jwstdp/utils/archive_cal_code.sh b/jwstdp/utils/archive_cal_code.sh index 393b99a..d41372b 100755 --- a/jwstdp/utils/archive_cal_code.sh +++ b/jwstdp/utils/archive_cal_code.sh @@ -42,11 +42,13 @@ which sloccount if [[ $? -ne 0 ]]; then echo "'sloccount' not found. Install before attempting again." + exit 1 fi which csplit if [[ $? -ne 0 ]]; then echo "'csplit' not found. Install before attempting again." + exit 1 fi set -e -- cgit