Skip to content
Snippets Groups Projects
Commit 34f59c47 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Ensure a unique cp dir name by including the SVN revision in the dir name.

parent 93164294
No related branches found
No related tags found
No related merge requests found
...@@ -163,8 +163,10 @@ do ...@@ -163,8 +163,10 @@ do
fmax=`echo $fmax_str | cut -f1 -d"." | sed 's/[^0-9]//g'` fmax=`echo $fmax_str | cut -f1 -d"." | sed 's/[^0-9]//g'`
# . Report fMax # . Report fMax
unb_info $0 "fMax of ${CLK}: ${fmax} MHz" unb_info $0 "fMax of ${CLK}: ${fmax} MHz"
# . Copy quartus output dir preserving the meta file information, add fMax portfix # . Copy quartus output dir preserving the meta file information, add SVN revision and fMax portfix
cp -rp ${quartusdir} ${quartusdir}_${fmax}MHz # The SVN revision ensures a unique dir name, which is important, because in case the dir name already happens
# to exists, then cp does not change the date of the dir, so then it is not clear that the dir is a new copy.
cp -rp ${quartusdir} ${quartusdir}-r${svn_revision}_${fmax}MHz
fi fi
# Print critical warnings # Print critical warnings
unb_warning $0 "Listing Critical Warnings" unb_warning $0 "Listing Critical Warnings"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment