Fix output name generation. (Stefan Peterson)

This commit is contained in:
steve 1999-09-15 01:47:39 +00:00
parent 39bc45ce67
commit f36c511c2f
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ verilogFile=$@;
# If no output file is given should we guess one or...?
# Assumes a few silly things if several files are given
if test -z "${outputFile}" ; then
outputFile=`echo ${verilogFile} | sed -e 's;.* \(.*\)\..*;\1;'`;
outputFile=`echo ${verilogFile} | sed -e 's;\(.* \+\)*\(.*\)\..*;\2;'`;
outputFile="${outputFile}${targetSuffix}" ;
fi