3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-18 05:05:45 +00:00

Merge branch 'YosysHQ:main' into main

This commit is contained in:
Akash Levy 2025-04-03 10:48:42 -07:00 committed by GitHub
commit 439d859bba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 255 additions and 27 deletions

View file

@ -36,12 +36,12 @@ help() {
echo ""
echo " $0 --datdir/simlib.v"
echo ""
} >&2
exit 1
} >&$(( $1 + 1))
exit $1
}
if [ $# -eq 0 ]; then
help
help 1
fi
if [ "$1" = "--build" ]; then
@ -83,7 +83,7 @@ for opt; do
tokens=( "${tokens[@]}" '@DATDIR@'"${opt#${prefix}datdir}" ) ;;
--help|-\?|-h)
if [ ${#tokens[@]} -eq 0 ]; then
help
help 0
else
tokens=( "${tokens[@]}" "$opt" )
fi ;;