mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 09:07:20 +00:00
fix: path translation fixes
This commit is contained in:
@@ -100,6 +100,8 @@ handle_auto_rebuild(){
|
||||
local storage_path
|
||||
storage_path="$(read_env_value STORAGE_PATH_LOCAL "./local-storage")"
|
||||
if [[ "$storage_path" != /* ]]; then
|
||||
# Remove leading ./ if present
|
||||
storage_path="${storage_path#./}"
|
||||
storage_path="$(dirname "$COMPOSE_FILE")/$storage_path"
|
||||
fi
|
||||
local sentinel="$storage_path/modules/.requires_rebuild"
|
||||
|
||||
Reference in New Issue
Block a user