From 0e8fd2c0eed44dba1d39840a8733c9159220d671 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 11 Sep 2023 19:31:53 +0100 Subject: [PATCH] gnu-web-doc-update: fix updating of manual directory * build-aux/gnu-web-doc-update: Correctly change to the 'manual' directory, since $tmp is a relative path. This avoids removing files outside of the 'manual' directory. Broken since commit e979787d. --- ChangeLog | 7 +++++++ build-aux/gnu-web-doc-update | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88e1d80ce7..ac57b7b5bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-09-11 Pádraig Brady + + gnu-web-doc-update: fix updating of manual directory + * build-aux/gnu-web-doc-update: Change to the 'manual' directory, + since $tmp is a relative path. This avoids removing files + outside of the 'manual' directory. + 2023-09-10 Bruno Haible Fix clang errors "different exception specifier" (regr. 2023-09-04). diff --git a/build-aux/gnu-web-doc-update b/build-aux/gnu-web-doc-update index a804031a43..ae74eea989 100755 --- a/build-aux/gnu-web-doc-update +++ b/build-aux/gnu-web-doc-update @@ -2,7 +2,7 @@ # Run this after each non-alpha release, to update the web documentation at # https://www.gnu.org/software/$pkg/manual/ -VERSION=2023-03-23.02; # UTC +VERSION=2023-09-11.20; # UTC # Copyright (C) 2009-2023 Free Software Foundation, Inc. @@ -182,7 +182,7 @@ $RSYNC -avP "$builddir"/doc/manual/ $tmp/$pkg/manual cd $tmp/$pkg test -d manual/CVS || $dryrun $CVS add -ko manual - cd $tmp/$pkg/manual + cd manual # Add all the files. This is simpler than trying to add only the # new ones because of new directories -- 2.39.5