Fix r1478 change to don't fail if BASE_{INCLUDE,EXCLUDE} isn't set (fix simple-cdd usage, I think)

This commit is contained in:
Otavio Salvador 2007-10-13 13:26:08 +00:00
parent cf4e0c8ed9
commit bd3c87bde3
1 changed files with 2 additions and 2 deletions

View File

@ -286,8 +286,8 @@ $(BDIR)/rawlist:
for ARCH in $(ARCHES_NOSRC); do \
debootstrap --arch $$ARCH \
--print-debs \
--include=`cat $$BASE_INCLUDE | tr "\n" "," | sed 's!,$$!!g'` \
--exclude=`cat $$BASE_EXCLUDE | tr "\n" "," | sed 's!,$$!!g'` \
--include=`[ -n "$(BASE_INCLUDE) ] && cat $(BASE_INCLUDE) | tr "\n" "," | sed 's!,$$!!g'` \
--exclude=`[ -n "$(BASE_INCLUDE) ] && cat $(BASE_EXCLUDE) | tr "\n" "," | sed 's!,$$!!g'` \
$(CODENAME) \
$(TDIR)/debootstrap.tmp \
file:$(MIRROR) \