1
0
kopia lustrzana https://github.com/mail-in-a-box/mailinabox.git synced 2025-09-17 11:40:54 +00:00

Fixed SC2006: Use $(...) notation instead of legacy backticks ....

This commit is contained in:
Teal Dulcet 2023-12-21 06:15:50 -08:00
rodzic 8e4e9add78
commit 7655a7688c
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ export LC_TYPE=en_US.UTF-8
# On Mondays, i.e. once a week, send the administrator a report of total emails
# sent and received so the admin might notice server abuse.
if [ `date "+%u"` -eq 1 ]; then
if [ $(date "+%u") -eq 1 ]; then
management/mail_log.py -t week | management/email_administrator.py "Mail-in-a-Box Usage Report"
fi

Wyświetl plik

@ -1,6 +1,6 @@
# Use this script to make an archive of the contents of all
# of the configuration files we edit with editconf.py.
for fn in `grep -hr editconf.py setup | sed "s/tools\/editconf.py //" | sed "s/ .*//" | sort | uniq`; do
for fn in $(grep -hr editconf.py setup | sed "s/tools\/editconf.py //" | sed "s/ .*//" | sort | uniq); do
echo ======================================================================
echo $fn
echo ======================================================================