diff --git a/scripts/_common.sh b/scripts/_common.sh index 95fb597..5e314c8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -103,7 +103,7 @@ function generate_custom_world { add_configuration_files pushd "$data_path" - grep -q "Server is ready to accept connections." <((sudo -u $app "$final_path/target/release/veloren-server-cli" --basic & echo $! >&3 ) 3>pid) + grep -q "Server is ready to accept connections." <((sudo -u $app "VELOREN_ASSETS=\"$final_path/assets\" $final_path/target/release/veloren-server-cli" --basic & echo $! >&3 ) 3>pid) kill "$(