From 58fb3bbe0d4f8b6a4e3ac62ff3365b795710428b Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Fri, 13 Dec 2024 11:17:03 +0100 Subject: [PATCH] Fix "no such file or directory" on startup Running this on 30e119170dd2d4b1ac44e2ea9279608826af0548 (a version of master that passes), shows that under `_build/mim1/rel/mongooseim/lib/mongooseim-*/priv/lib` it is expected to find the `.so` objects of the recently removed native code files. This is explored when the env-var removed in this commit is attempted to be expanded. This was used until 087452273720d1f87186fda456c7e23d849c0e44 when it was removed. --- rel/files/mongooseim | 2 -- 1 file changed, 2 deletions(-) diff --git a/rel/files/mongooseim b/rel/files/mongooseim index cf6659e40dd..ad1e219c5ae 100755 --- a/rel/files/mongooseim +++ b/rel/files/mongooseim @@ -17,9 +17,7 @@ export EJABBERD_PID_PATH="$EJABBERD_PID_PATH" EJABBERD_STATUS_PATH="{{mongooseim_status_dir}}/status" export EJABBERD_STATUS_PATH="$EJABBERD_STATUS_PATH" -EJABBERD_SO_PATH=`ls -dt "$RUNNER_BASE_DIR"/lib/mongooseim-*/priv/lib | head -1` EJABBERD_CONFIG_PATH=${EJABBERD_CONFIG_PATH:-$RUNNER_ETC_DIR/mongooseim.${MONGOOSEIM_CONFIG_FORMAT:-toml}} -export EJABBERD_SO_PATH export EJABBERD_CONFIG_PATH # Make sure this script is running as the appropriate user