Skip to content

Commit

Permalink
make lphybeast find the lphy lib #86
Browse files Browse the repository at this point in the history
  • Loading branch information
walterxie committed Apr 4, 2023
1 parent b548dfc commit 7bdadd6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lphybeast/bin/lphybeast
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,13 @@ fi
### lphy lib must be loaded to classpath
"$JAVA" -version

#TODO: LPHY_DIR=$(find "$BEAST" -maxdepth 1 -type d -name 'lphy-studio-1.*' | head -1)
LPHY_DIR=$(find "$BEAST" -maxdepth 1 -type d -name 'lphy*studio-1*' | head -1)
# e.g. $BEAST/lphy-studio-1.3.1/lib
LPHY_LIB="$BEAST/lphy-studio-1.4.0/lib"
if [ -z "$var" ]; then
LPHY_LIB="$BEAST/lphystudio-1.4.1/lib"
else
LPHY_LIB="$LPHY_DIR/lib"
fi
echo "Set LPHY_LIB = $LPHY_LIB"
echo $(ls "$LPHY_LIB")
# must set -Dpicocli.disable.closures=true using picocli:4.7.0
Expand Down

0 comments on commit 7bdadd6

Please sign in to comment.