From f788b73f232afd4d12b0e0c0231117cc9107c4aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:05:28 +0000 Subject: [PATCH 1/2] Initial plan From b3caa33d3d04e7a8cf763a8292e2aba3adfa7915 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:08:41 +0000 Subject: [PATCH 2/2] Quote mirror script paths in docs examples --- docs/release-team/mirror-scripts.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/release-team/mirror-scripts.md b/docs/release-team/mirror-scripts.md index 0369f20c5..3a0465e34 100644 --- a/docs/release-team/mirror-scripts.md +++ b/docs/release-team/mirror-scripts.md @@ -57,22 +57,22 @@ RSYNCSOURCE=rsync://archive.ubuntu.mirror.isp.com/ubuntu # Define where you want the mirror-data to be on your mirror BASEDIR=/var/www/ubuntuarchive/ -if [ ! -d ${BASEDIR} ]; then +if [ ! -d "${BASEDIR}" ]; then warn "${BASEDIR} does not exist yet, trying to create it..." - mkdir -p ${BASEDIR} || fatal "Creation of ${BASEDIR} failed." + mkdir -p "${BASEDIR}" || fatal "Creation of ${BASEDIR} failed." fi rsync --recursive --times --links --safe-links --hard-links \ --stats \ --exclude "Packages*" --exclude "Sources*" \ --exclude "Release*" --exclude "InRelease" \ - ${RSYNCSOURCE} ${BASEDIR} || fatal "First stage of sync failed." + "${RSYNCSOURCE}" "${BASEDIR}" || fatal "First stage of sync failed." rsync --recursive --times --links --safe-links --hard-links \ --stats --delete --delete-after \ - ${RSYNCSOURCE} ${BASEDIR} || fatal "Second stage of sync failed." + "${RSYNCSOURCE}" "${BASEDIR}" || fatal "Second stage of sync failed." -date -u > ${BASEDIR}/project/trace/$(hostname -f) +date -u > "${BASEDIR}/project/trace/$(hostname -f)" ``` @@ -102,15 +102,14 @@ RSYNCSOURCE=rsync://releases.ubuntu.mirror.isp.com/releases # Define where you want the mirror-data to be on your mirror BASEDIR=/var/www/ubuntureleases/ -if [ ! -d ${BASEDIR} ]; then +if [ ! -d "${BASEDIR}" ]; then warn "${BASEDIR} does not exist yet, trying to create it..." - mkdir -p ${BASEDIR} || fatal "Creation of ${BASEDIR} failed." + mkdir -p "${BASEDIR}" || fatal "Creation of ${BASEDIR} failed." fi rsync --verbose --recursive --times --links --safe-links --hard-links \ --stats --delete-after \ - ${RSYNCSOURCE} ${BASEDIR} || fatal "Failed to rsync from ${RSYNCSOURCE}." + "${RSYNCSOURCE}" "${BASEDIR}" || fatal "Failed to rsync from ${RSYNCSOURCE}." -date -u > ${BASEDIR}/.trace/$(hostname -f) +date -u > "${BASEDIR}/.trace/$(hostname -f)" ``` -