mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 00:58:34 +00:00
fix: path translation fixes
This commit is contained in:
@@ -163,6 +163,9 @@ setup_remote_repository(){
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create local-storage directory structure
|
||||
run_ssh "mkdir -p '$PROJECT_DIR/local-storage/modules'"
|
||||
|
||||
echo " • Repository synchronized ✓"
|
||||
}
|
||||
|
||||
|
||||
@@ -131,6 +131,8 @@ fi
|
||||
# Build sentinel is tracked in local storage
|
||||
LOCAL_STORAGE_PATH="$(read_env STORAGE_PATH_LOCAL "./local-storage")"
|
||||
if [[ "$LOCAL_STORAGE_PATH" != /* ]]; then
|
||||
# Remove leading ./ if present
|
||||
LOCAL_STORAGE_PATH="${LOCAL_STORAGE_PATH#./}"
|
||||
LOCAL_STORAGE_PATH="$PROJECT_DIR/$LOCAL_STORAGE_PATH"
|
||||
fi
|
||||
MODULES_DIR="$STORAGE_PATH/modules"
|
||||
|
||||
@@ -102,6 +102,8 @@ MODULES_DIR="$STORAGE_PATH/modules"
|
||||
# Build sentinel is in local storage, deployment modules are in shared storage
|
||||
LOCAL_STORAGE_PATH="$(read_env STORAGE_PATH_LOCAL "./local-storage")"
|
||||
if [[ "$LOCAL_STORAGE_PATH" != /* ]]; then
|
||||
# Remove leading ./ if present
|
||||
LOCAL_STORAGE_PATH="${LOCAL_STORAGE_PATH#./}"
|
||||
LOCAL_STORAGE_PATH="$PROJECT_DIR/$LOCAL_STORAGE_PATH"
|
||||
fi
|
||||
SENTINEL_FILE="$LOCAL_STORAGE_PATH/modules/.requires_rebuild"
|
||||
|
||||
Reference in New Issue
Block a user