From 65c2286ffedfeb2c8283fd5d4bc796cd46eb60df Mon Sep 17 00:00:00 2001 From: nucleogenic Date: Tue, 20 Sep 2022 01:56:22 +0100 Subject: [PATCH] Fix shell exit issue in web/start.sh --- python/web/start.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/web/start.sh b/python/web/start.sh index f9e5b26b..c96d3ef3 100755 --- a/python/web/start.sh +++ b/python/web/start.sh @@ -62,8 +62,7 @@ if ! test -e venv; then pip3 install wheel pip3 install -r requirements.txt - git rev-parse --is-inside-work-tree &> /dev/null - if [[ $? -eq 0 ]]; then + if git rev-parse --is-inside-work-tree &> /dev/null; then git rev-parse HEAD > current fi fi