Skip to content

Commit d1695ad

Browse files
authored
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)
2 parents 7db4c65 + f75b1e8 commit d1695ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/yosys-config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if [ $# -eq 0 ]; then
4444
help
4545
fi
4646

47-
if [ "$1" == "--build" ]; then
47+
if [ "$1" = "--build" ]; then
4848
modname="$2"; shift 2
4949
set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs
5050
fi

0 commit comments

Comments
 (0)