Skip to content

Commit 0c522ce

Browse files
cr1901Ravenslofty
authored andcommitted
diamond.sh: Default path also changed for Linux, so add check there as well.
1 parent 84f6d5d commit 0c522ce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

diamond.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ if $WINDOWS; then
4040
;;
4141
esac
4242
else
43-
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}_x64}"
43+
case $diamondver in
44+
"3.12")
45+
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}}"
46+
;;
47+
*)
48+
diamonddir="${DIAMONDDIR:-/usr/local/diamond/${diamondver}_x64}"
49+
;;
50+
esac
4451
fi
4552
export FOUNDRY="${diamonddir}/ispfpga"
4653

0 commit comments

Comments
 (0)