summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Edwards <tim@opencircuitdesign.com>2016-03-15 16:35:23 -0400
committerTim Edwards <tim@opencircuitdesign.com>2016-03-15 16:35:23 -0400
commitb2cafbeb0a4d486c16cf39e3575300f823c974b9 (patch)
tree98dfcf8defd278d7fb9de4cae44c268b1a302f49 /scripts
parentf2a0a103bd0e6fd5d18475c8d106190a742caf72 (diff)
Fixed an incorrect parsing of one of the various possible version
strings returned by yosys.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synthesize.sh2
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