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
@ -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