From 91c7ded02465f3564f2c93bf95293801e2c937be Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sun, 12 Sep 2021 16:38:15 +0200 Subject: [PATCH] fix: check for interactivity --- setup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 4c114b7..0b555cf 100755 --- a/setup.sh +++ b/setup.sh @@ -1,10 +1,9 @@ #!/bin/bash cd "$(dirname "$0")" -INTERACTIVE=false - -if [[ $- == *i* ]] then - INTERACTIVE=true +INTERACTIVE="false" +if [ $- == *i* ]; then + INTERACTIVE="true" fi