Add some terms to the find used by jigdo to scan the archive, in order

to make it prefer files from the current distro.
This stops it using paths that point into potato for files that exist in
both potato & woody
This commit is contained in:
Philip Hands 2002-05-06 10:30:01 +00:00
parent 9fac563381
commit f3edfa9f2e
1 changed files with 4 additions and 2 deletions

View File

@ -749,13 +749,15 @@ $(TDIR)/jigdofilelist: $(MIRROR)/dists/$(CODENAME)/main/binary-$(ARCH)/Packages.
$(Q)set -e; \
if [ "$(DOJIGDO)" != 0 ]; then \
mkdir -p $(TDIR); \
find $(MIRROR)//dists $(MIRROR)//doc $(MIRROR)//indices \
find $(MIRROR)//dists/$(CODENAME)/main/disks-i386 \
$(MIRROR)//dists/$(CODENAME) \
$(MIRROR)//doc $(MIRROR)//indices \
$(MIRROR)//pool $(MIRROR)//project $(MIRROR)//tools \
-type f \
| egrep -v '/README|INDEX$$|/Maintainers|/Release$$|/debian-keyring\.tar\.gz$$|/ls-lR|//doc/[^/]+/?[^/]*\.(txt|html)$$' \
> $(TDIR)/jigdofilelist; \
if [ -n "$(NONUS)" ]; then \
find $(NONUS)// -type f \
find $(NONUS)//dists/$(CODENAME) $(NONUS)// -type f \
| egrep -v '/README|INDEX$$|/Maintainers|/Release$$|/debian-keyring\.tar\.gz$$|/ls-lR|//doc/[^/]+/?[^/]*\.(txt|html)$$' \
>> $(TDIR)/jigdofilelist; \
fi; \