From 612a4225befd9b7ac8fec666d20e0acd7e264bd1 Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Sat, 22 Aug 2020 22:20:13 +0200 Subject: [PATCH] fix: recreate deleted variable --- scripts/status.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/status.sh b/scripts/status.sh index ff3ec7d..6f226cd 100755 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -2,10 +2,12 @@ kiauh_status(){ cd ${HOME}/kiauh git fetch --all -q if git branch -a | grep "* master" -q; then + CURR_KIAUH_BRANCH="master" #needed to display branch in UI if [[ "$(git rev-parse --short=8 origin/master)" != "$(git rev-parse --short=8 HEAD)" ]]; then KIAUH_UPDATE_AVAIL="true" fi elif git branch -a | grep "* dev-2.0" -q; then + CURR_KIAUH_BRANCH="dev-2.0" #needed to display branch in UI if [[ "$(git rev-parse --short=8 origin/dev-2.0)" != "$(git rev-parse --short=8 HEAD)" ]]; then KIAUH_UPDATE_AVAIL="true" fi