mirror of https://github.com/YosysHQ/yosys.git
misc/yosys-config.in: don't use the non-portable '==' operator with
test(1).
This commit is contained in:
parent
1113b88cb2
commit
f75b1e838c
|
@ -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