commit 55eea1a9389356e846f478129b6c3ea53399eda8
parent fbee6bd6edd4bf2397fbd5087a42c00f6be4674d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 22 Apr 2026 10:24:01 +0200
Fix a bug in a shell script
In the POSIX shell, string equality must be tested using the "="
operator, not "==".
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -49,7 +49,7 @@ makefile: cache
@rm -f $(MK)
@{ \
build="$(BUILD)"; \
- if [ "$${build}" == "$${build#/}" ]; then \
+ if [ "$${build}" = "$${build#/}" ]; then \
build="$${PWD}/$${build}"; \
fi; \
cd src; \