Skip to content

Commit

Permalink
Unset BASEX_JVM which could be a javaagent for metrics and traces and…
Browse files Browse the repository at this point in the history
… has no valid config while building
  • Loading branch information
simar0at committed Oct 9, 2024
1 parent eec2d85 commit 08e832f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ install_bins() {
echo "BASEX_admin_pw=\"$BASEX_admin_pw\"" > "$BUILD_DIR/.heroku/basex/data/credentials"
echo "CYPRESS_BASEX_admin_pw=\"$BASEX_admin_pw\"" >> "$BUILD_DIR/.heroku/basex/data/credentials"
echo "BaseX admin password is \"$BASEX_admin_pw\""
echo "Unsetting \"$BASEX_JVM\" while building"
unset BASEX_JVM
bash "$BUILD_DIR/.heroku/basex/bin/basexserver" -c "PASSWORD $BASEX_admin_pw" >/dev/null 2>&1 &
sleep 0.2
bash "$BUILD_DIR/.heroku/basex/bin/basexserver" stop >/dev/null 2>&1 &
Expand Down

0 comments on commit 08e832f

Please sign in to comment.