misc/yosys-config.in: don't use the non-portable '==' operator with

test(1).
This commit is contained in:
Jason Thorpe 2024-10-14 16:06:34 -07:00
parent 1113b88cb2
commit f75b1e838c
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ if [ $# -eq 0 ]; then
help help
fi fi
if [ "$1" == "--build" ]; then if [ "$1" = "--build" ]; then
modname="$2"; shift 2 modname="$2"; shift 2
set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs
fi fi