3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 09:04:08 +00:00

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

View file

@ -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