feat(core): Improve placeholder logs by grouping them.
This commit is contained in:
parent
5b8124d5c5
commit
9c41a5fbcb
1 changed files with 3 additions and 2 deletions
|
@ -455,6 +455,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
|
||||||
SKIPAZPLACEHOLDERS=false
|
SKIPAZPLACEHOLDERS=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
log_bright log_bold "[INFO] Applying placeholders.."
|
||||||
PLACE_PLACEHOLDERS() {
|
PLACE_PLACEHOLDERS() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
for file in "$dir"/*; do
|
for file in "$dir"/*; do
|
||||||
|
@ -480,7 +481,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
|
||||||
sed -i "s~__blueprintversion__~$VERSION~g" "$file"
|
sed -i "s~__blueprintversion__~$VERSION~g" "$file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_bright "[INFO] Done placeholders in '$file'."
|
log_bright " - ${file}"
|
||||||
elif [ -d "$file" ]; then
|
elif [ -d "$file" ]; then
|
||||||
PLACE_PLACEHOLDERS "$file"
|
PLACE_PLACEHOLDERS "$file"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue