mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07:06:40 +00:00
Format shell scripts with shfmt
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Parse confx files and generate the conf files.
|
||||
for file in $HOME/.logrotate.d/*.confx; do
|
||||
content="$(eval "echo \"$(cat "$file")\"")"
|
||||
echo "$content" > ${file/%.confx/.conf}
|
||||
echo "$content" > "${file/%.confx/.conf}"
|
||||
done
|
||||
|
||||
# Run logrorate like normal against conf files.
|
||||
|
||||
Reference in New Issue
Block a user