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