Skip to content

Commit

Permalink
diamond.sh: Default path also changed for Linux, so add check there a…
Browse files Browse the repository at this point in the history
…s well.
  • Loading branch information
cr1901 authored and Ravenslofty committed Feb 8, 2023
1 parent 84f6d5d commit 0c522ce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion diamond.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ if $WINDOWS; then
;;
esac
else
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}_x64}"
case $diamondver in
"3.12")
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}}"
;;
*)
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}_x64}"
;;
esac
fi
export FOUNDRY="${diamonddir}/ispfpga"

Expand Down

0 comments on commit 0c522ce

Please sign in to comment.