move the bit that strips the "CD" out of $DISK, so that it is consistent

across the whole for loop (was causing attempts to access .../CDCD1/... etc)
This commit is contained in:
Philip Hands 2002-12-20 01:37:55 +00:00
parent 4cb787d8b2
commit 72dd0f11b9
1 changed files with 1 additions and 1 deletions

View File

@ -442,9 +442,9 @@ $(BDIR)/packages-stamp:
@# and create .disk/base_installable if yes
@# Also create .disk/base_components
$(Q)for DISK in $(FIRSTDISKS); do \
DISK=$${DISK##CD}; \
if [ -x "/usr/sbin/debootstrap" ]; then \
ok=yes; \
DISK=$${DISK##CD}; \
for p in `/usr/sbin/debootstrap --arch $(ARCH) --print-debs $(CODENAME)`; do \
if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
ok=no; \