From 1d2d64b77e5eaf9d66b7418de80f6a8ff222fa06 Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Sun, 11 Apr 2021 17:13:47 +0200 Subject: [PATCH] mksym.sh: Check exitence of alliance-check-toolkit --- experiments9/mksym.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/experiments9/mksym.sh b/experiments9/mksym.sh index e65a54c..1659db8 100755 --- a/experiments9/mksym.sh +++ b/experiments9/mksym.sh @@ -1,6 +1,10 @@ #!/bin/bash ALLIANCE_TOOLKIT=${ALLIANCE_TOOLKIT:-${HOME}/alliance-check-toolkit/} +if [ ! -d ${ALLIANCE_TOOLKIT} ]; then + echo "alliance-check-toolkit not found; please set ALLIANCE_TOOLKIT" + exit 20 +fi echo "creating symlinks" -- 2.30.2