From 765bbb2127a3991c8e639f7c2d64a7d981897821 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 3 May 2005 04:19:07 +0000 Subject: [PATCH] Remove only the packages sub-directory before recreating it. Do not remove the whole disc treei structure. This allows one to specify the disc trees created by a prior release build (under R/cdrom) as the destination without destroying the contents. This better integrates with release building and makes further automation easier. MFC after: 2 days --- release/scripts/package-trees.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/package-trees.sh b/release/scripts/package-trees.sh index 7dc8ec51b08e..f054a5ea7ddf 100644 --- a/release/scripts/package-trees.sh +++ b/release/scripts/package-trees.sh @@ -27,7 +27,7 @@ echo "Generating trees for ${high_disc} discs" # Second, initialize the trees for each disc for disc in `jot $high_disc`; do - rm -rf ${DESTDIR}/disc${disc} + rm -rf ${DESTDIR}/disc${disc}/packages mkdir -p ${DESTDIR}/disc${disc}/packages/All cp ${INDEX} ${DESTDIR}/disc${disc}/packages/INDEX done