From 24266f8dff3ecfc6720d3a8a0fd2ad9a38aae09c Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 15 Apr 2005 07:26:16 +0000 Subject: [PATCH] zip should not exclude dot files in base dir --- releasetools/Targets.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasetools/Targets.mk b/releasetools/Targets.mk index 4bfc294c4..560485794 100644 --- a/releasetools/Targets.mk +++ b/releasetools/Targets.mk @@ -91,7 +91,7 @@ endif find . -print | grep $$file | cut -c3- >> $(TMP)/tar.exclude; \ done # tar up distro, then gzip/bzip/zip it - tar cf - * --exclude-from $(TMP)/tar.exclude | (cd $(TMP)/docbook-$(DISTRO)-$(ZIPVER); tar xf -) + tar cf - * .[^.]* --exclude-from $(TMP)/tar.exclude | (cd $(TMP)/docbook-$(DISTRO)-$(ZIPVER); tar xf -) umask 022; cd $(TMP) && tar cf - docbook-$(DISTRO)-$(ZIPVER) | gzip > docbook-$(DISTRO)-$(ZIPVER).tar.gz umask 022; cd $(TMP) && tar cf - docbook-$(DISTRO)-$(ZIPVER) | bzip2 > docbook-$(DISTRO)-$(ZIPVER).tar.bz2 umask 022; cd $(TMP) && zip -q -rpD docbook-$(DISTRO)-$(ZIPVER).zip docbook-$(DISTRO)-$(ZIPVER) -- 2.40.0