mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-16 14:27:01 +00:00
test/t-22-forward_via: Group shell redirections
This patch groups a series of commands that redirect to a file into a single grouped redirect, for readability reasons. Suggested by shellcheck SC2129.
This commit is contained in:
@@ -38,9 +38,11 @@ CONFDIR=external chasquid-util dkim-keygen --algo=ed25519 \
|
|||||||
# Launch minidns in the background using our configuration.
|
# Launch minidns in the background using our configuration.
|
||||||
# Augment the zones with the dkim ones.
|
# Augment the zones with the dkim ones.
|
||||||
cp zones .zones
|
cp zones .zones
|
||||||
CONFDIR=primary chasquid-util dkim-dns dodo | sed 's/"//g' >> .zones
|
{
|
||||||
CONFDIR=secondary chasquid-util dkim-dns dodo | sed 's/"//g' >> .zones
|
CONFDIR=primary chasquid-util dkim-dns dodo | sed 's/"//g'
|
||||||
CONFDIR=external chasquid-util dkim-dns kiwi | sed 's/"//g' >> .zones
|
CONFDIR=secondary chasquid-util dkim-dns dodo | sed 's/"//g'
|
||||||
|
CONFDIR=external chasquid-util dkim-dns kiwi | sed 's/"//g'
|
||||||
|
} >> .zones
|
||||||
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1
|
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user