From 767c0821ee0a1ad893efe9b5bc8e84f5629f8416 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 4 Nov 2022 21:43:06 +0100 Subject: scripts: removed bashisms --- .local/bin/in-git-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/in-git-repo') diff --git a/.local/bin/in-git-repo b/.local/bin/in-git-repo index 56e2e33..0372e32 100755 --- a/.local/bin/in-git-repo +++ b/.local/bin/in-git-repo @@ -2,7 +2,7 @@ res=$(git rev-parse --is-inside-work-tree 2>/dev/null) -if [[ $res == true ]]; then +if [ "$res" = true ]; then exit 0 else exit 1 -- cgit v1.2.3-70-g09d2