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

Merge pull request #4666 from thorpej/dev/pkgsrc-patch-NetBSD-2

misc/yosys-config.in: don't use the non-portable '==' operator with test(1)
This commit is contained in:
Emil J 2024-10-22 13:10:52 +02:00 committed by GitHub
commit d1695ad998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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