Skip to content

Commit

Permalink
Merge pull request #169 from rroohhh/user_LM_LICENSE_FILE
Browse files Browse the repository at this point in the history
allow user specified LM_LICENSE_FILE
  • Loading branch information
gatecat authored Jun 25, 2021
2 parents 0e6a320 + 6dc64ae commit 29f1dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diamond.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]]
Expand Down
2 changes: 1 addition & 1 deletion diamond_tcl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29f1dfa

Please sign in to comment.