mirror of https://github.com/YosysHQ/yosys.git
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:
commit
d1695ad998
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue