mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
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
This commit is contained in:
parent
9bae572bd7
commit
765bbb2127
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145813
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user