Skip to content

Commit c6fd4e6

Browse files
authored
Merge pull request #9186 from hariramakrishnan1/fix_yosys_command
Changed incorrect yosys command option from --version to -V
2 parents d7c1dfb + 63629a7 commit c6fd4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/DependencyInstaller.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ _install_yosys() {
141141
local yosys_prefix=${PREFIX:-"/usr/local"}
142142
local yosys_installed_version="none"
143143
if _command_exists "yosys"; then
144-
yosys_installed_version=$(yosys --version | awk '{print $2}')
144+
yosys_installed_version=$(yosys -V | awk '{print $2}')
145145
fi
146146

147147
local required_version="${YOSYS_VERSION#v}"

0 commit comments

Comments
 (0)