From 2b93fe3400229531ac6b592a689406a10ba04edb Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 11 Feb 2020 14:15:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20qurator=5Fdata=5Flib.sh:=20Check?= =?UTF-8?q?=20that=20we=20are=20running=20bash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator_data_lib.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qurator_data_lib.sh b/qurator_data_lib.sh index f3c6e3a..1e740f9 100644 --- a/qurator_data_lib.sh +++ b/qurator_data_lib.sh @@ -1,3 +1,8 @@ +if [ -z "$BASH" ]; then + echo "qurator_data_lib.sh uses bash features, please make sure to run $0 in bash" + exit 1 +fi + check_data_subdir() { result=0