fix privilege for script

This commit is contained in:
2026-08-17 16:45:35 +08:00
parent 5bd743268c
commit 079dc5fbc8
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ render_template() {
tmp_file="$(mktemp)"
perl -pe 's/\$\{([A-Z0-9_]+)\}/defined $ENV{$1} ? $ENV{$1} : ""/ge' "$template" > "$tmp_file"
chmod 644 "$tmp_file"
mv "$tmp_file" "$output"
}