mirror of https://github.com/YosysHQ/yosys.git
do not override existing shell variable
This commit is contained in:
parent
ae7daf99f4
commit
353ccc9e58
|
@ -16,8 +16,8 @@ generate_target() {
|
|||
# $ generate_ys_test ys_file [yosys_args]
|
||||
generate_ys_test() {
|
||||
ys_file=$1
|
||||
yosys_args=${2:-}
|
||||
generate_target "$ys_file" "\"$YOSYS_BASEDIR/yosys\" -ql ${ys_file%.*}.log $yosys_args $ys_file"
|
||||
yosys_args_=${2:-}
|
||||
generate_target "$ys_file" "\"$YOSYS_BASEDIR/yosys\" -ql ${ys_file%.*}.log $yosys_args_ $ys_file"
|
||||
}
|
||||
|
||||
# $ generate_bash_test bash_file
|
||||
|
|
Loading…
Reference in New Issue