aboutsummaryrefslogtreecommitdiff
path: root/jwstdp
diff options
context:
space:
mode:
Diffstat (limited to 'jwstdp')
-rwxr-xr-xjwstdp/utils/archive_cal_code.sh2
1 files changed, 2 insertions, 0 deletions
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