[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    [mythtv] [PATCH 2/4] DEB: Really exclude .git
From:       Philipp Matthias Hahn <pmhahn+mythtv () pmhahn ! de>
Date:       2017-09-30 14:46:11
Message-ID: 20170930144613.28182-3-pmhahn+mythtv () pmhahn ! de
[Download RAW message or body]

6cfdad4d changed `tar` to use `--exclude-vcs`, which for me (in version
1.29 as used by Debian Stretch) does not work: The generated
.orig.tar.gz still contains
	Mythbuntu/.git/
	mythplugins/mythweb/.git/
	mythtv/.git/

`tar` seams to processes options in order, so the options must be moved
before the  path names.
---
 deb/debian/mythtv.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deb/debian/mythtv.make b/deb/debian/mythtv.make
index c1bfe8f..2f03f20 100644
--- a/deb/debian/mythtv.make
+++ b/deb/debian/mythtv.make
@@ -49,7 +49,7 @@ TARFILE:=mythtv_$(GIT_RELEASE)$(DELIMITTER)$(SUFFIX).orig.tar.gz
 
 build-tarball:
 	#build the tarball
-	tar czf $(CURDIR)/../$(TARFILE) * --exclude-vcs --exclude .pc --exclude-tag-all mythtv.make
+	tar czf $(CURDIR)/../$(TARFILE) --exclude-vcs --exclude .pc --exclude-tag-all mythtv.make *
 
 get-git-source:
 	#checkout mythtv/mythplugins
-- 
2.14.2

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic