From 068627fa7bef975101675be2b6fe8908e277e27a Mon Sep 17 00:00:00 2001 From: Overtorment Date: Mon, 13 Sep 2021 14:09:37 +0100 Subject: [PATCH] REF: some bash scripts --- scripts/podinstall.sh | 2 +- scripts/release-notes.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/podinstall.sh b/scripts/podinstall.sh index 70ede1502..8283f6864 100755 --- a/scripts/podinstall.sh +++ b/scripts/podinstall.sh @@ -1,5 +1,5 @@ #!/bin/sh -if [[ "$OSTYPE" == "darwin"* ]]; then +if [ "$OSTYPE" = "darwin"* ]; then echo "Running pod update..." cd ios pod install diff --git a/scripts/release-notes.sh b/scripts/release-notes.sh index a970a9c39..8da6f18b5 100755 --- a/scripts/release-notes.sh +++ b/scripts/release-notes.sh @@ -1,6 +1,6 @@ #!/bin/sh HEAD=`git rev-parse --abbrev-ref --symbolic-full-name HEAD` -if [ $HEAD == "master" ] +if [ "$HEAD" = "master" ] then TAG=`git tag | sort | tail -n 1` else