diff options
author | Tim Edwards <tim@opencircuitdesign.com> | 2016-03-15 16:35:23 -0400 |
---|---|---|
committer | Tim Edwards <tim@opencircuitdesign.com> | 2016-03-15 16:35:23 -0400 |
commit | b2cafbeb0a4d486c16cf39e3575300f823c974b9 (patch) | |
tree | 98dfcf8defd278d7fb9de4cae44c268b1a302f49 /scripts | |
parent | f2a0a103bd0e6fd5d18475c8d106190a742caf72 (diff) |
Fixed an incorrect parsing of one of the various possible version
strings returned by yosys.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/synthesize.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/synthesize.sh b/scripts/synthesize.sh index 6823f17..604e3a4 100755 --- a/scripts/synthesize.sh +++ b/scripts/synthesize.sh @@ -166,6 +166,7 @@ set minor = `echo $versionstring | cut -d. -f2` # Sigh. . . versioning doesn't follow any fixed standard set minortest = `echo $minor | cut -d+ -f2` +set minor = `echo $minor | cut -d+ -f1` if ( ${minortest} == "" ) then set revisionstring = `echo $versionstring | cut -d. -f3` @@ -176,7 +177,6 @@ if ( ${minortest} == "" ) then else set revision = 0 - set minor = `echo $minor | cut -d+ -f1` set subrevision = ${minortest} endif |