From f6ad97390a4dbba54bbc56c8f9a95c6d100dee63 Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Fri, 18 Jun 2021 21:27:03 -0400 Subject: [PATCH] Add asset dir env during custom world generation --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$(