From 2de11196711b27e75f5cec14304ed5fe8af6b773 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Fri, 17 Apr 2026 10:17:39 +0200 Subject: [PATCH] Fix shebang and quotes in mirror scripts documentation --- docs/release-team/mirror-scripts.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/release-team/mirror-scripts.md b/docs/release-team/mirror-scripts.md index 0369f20c5..fad831e12 100644 --- a/docs/release-team/mirror-scripts.md +++ b/docs/release-team/mirror-scripts.md @@ -38,7 +38,7 @@ the `Packages.gz` files, it's safe to delete old packages. ```none -#/bin/dash +#!/bin/dash fatal() { echo "$1" @@ -72,7 +72,7 @@ rsync --recursive --times --links --safe-links --hard-links \ --stats --delete --delete-after \ ${RSYNCSOURCE} ${BASEDIR} || fatal "Second stage of sync failed." -date -u > ${BASEDIR}/project/trace/$(hostname -f) +date -u > ${BASEDIR}/project/trace/"$(hostname -f)" ``` @@ -83,7 +83,7 @@ dependencies between files, so you can just `rsync`. ```none -#/bin/dash +#!/bin/dash fatal() { echo "$1" @@ -111,6 +111,6 @@ rsync --verbose --recursive --times --links --safe-links --hard-links \ --stats --delete-after \ ${RSYNCSOURCE} ${BASEDIR} || fatal "Failed to rsync from ${RSYNCSOURCE}." -date -u > ${BASEDIR}/.trace/$(hostname -f) +date -u > ${BASEDIR}/.trace/"$(hostname -f)" ```