Skip to content

Commit

Permalink
misc/yosys-config.in: don't use the non-portable '==' operator with
Browse files Browse the repository at this point in the history
test(1).
  • Loading branch information
thorpej committed Oct 14, 2024
1 parent 1113b88 commit f75b1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/yosys-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f75b1e8

Please sign in to comment.