fix privilege for script
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user