From f75b1e838cac3a4e15a5eb835a2c84b935b93af9 Mon Sep 17 00:00:00 2001 From: Jason Thorpe Date: Mon, 14 Oct 2024 16:06:34 -0700 Subject: [PATCH] misc/yosys-config.in: don't use the non-portable '==' operator with test(1). --- misc/yosys-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/yosys-config.in b/misc/yosys-config.in index dd42b7c87..2d9c35e4d 100755 --- a/misc/yosys-config.in +++ b/misc/yosys-config.in @@ -44,7 +44,7 @@ if [ $# -eq 0 ]; then help fi -if [ "$1" == "--build" ]; then +if [ "$1" = "--build" ]; then modname="$2"; shift 2 set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs fi