diff --git a/diamond.sh b/diamond.sh index 6a69b2ed..d54ee31a 100755 --- a/diamond.sh +++ b/diamond.sh @@ -58,7 +58,7 @@ if $WINDOWS; then else export LD_LIBRARY_PATH="${bindir}:${fpgabindir}" fi -export LM_LICENSE_FILE="${diamonddir}/license/license.dat" +export LM_LICENSE_FILE="${LM_LICENSE_FILE:=${diamonddir}/license/license.dat}" set -ex if [[ $2 == *.ncl ]] diff --git a/diamond_tcl.sh b/diamond_tcl.sh index 0bbb4f6a..36db79e1 100755 --- a/diamond_tcl.sh +++ b/diamond_tcl.sh @@ -41,7 +41,7 @@ if $WINDOWS; then else export LD_LIBRARY_PATH="${bindir}:${fpgabindir}" fi -export LM_LICENSE_FILE="${diamonddir}/license/license.dat" +export LM_LICENSE_FILE="${LM_LICENSE_FILE:=${diamonddir}/license/license.dat}" if $WINDOWS; then $FOUNDRY/userware/NT/bin/nt64/ispTcl $1