From 92e03e38a963daa04fb9815eb77bf507ee3c0524 Mon Sep 17 00:00:00 2001 From: d_m Date: Thu, 9 Nov 2023 21:51:18 -0500 Subject: [PATCH] /bin/sh compatibility --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 0f84fbb..e471b6b 100755 --- a/build.sh +++ b/build.sh @@ -3,8 +3,7 @@ RELEASE_FLAGS="-Os -DNDEBUG -g0 -s" DEBUG_FLAGS="-D_POSIX_C_SOURCE=199309L -DDEBUG -Wall -Wno-unknown-pragmas -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined" -if [[ "$*" == *"--format"* ]] -then +if [ "$*" = *"--format"* ]; then clang-format -i src/* fi -- 2.45.2