]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
added bindir envvar to lattice_settings
authorJan Michel <j.michel@gsi.de>
Wed, 1 May 2013 12:20:25 +0000 (14:20 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 1 May 2013 12:20:25 +0000 (14:20 +0200)
base/lattice_settings.sh

index 953af28b76ee59cb2b66f01c4b2c00d3aa911a36..907f7410272c700d492923f8b90b147c9a872f33 100755 (executable)
@@ -1,3 +1,8 @@
 #!/bin/bash
 # source this file to setup your shell to use lattice toolchain
-cd /opt/lattice/diamond/2.01/ispfpga && source ../bin/lin/diamond_env
+TDIR=`pwd`
+cd /opt/lattice/diamond/2.01/bin/lin
+export bindir=`pwd`
+source ./diamond_env
+cd $TDIR
+