lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1787278 - /lucene/pylucene/trunk/Makefile
Date Fri, 17 Mar 2017 02:05:37 GMT
Author: vajda
Date: Fri Mar 17 02:05:37 2017
New Revision: 1787278

URL: http://svn.apache.org/viewvc?rev=1787278&view=rev
Log:
- exclude symlinks from distribution tar file

Modified:
    lucene/pylucene/trunk/Makefile

Modified: lucene/pylucene/trunk/Makefile
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/Makefile?rev=1787278&r1=1787277&r2=1787278&view=diff
==============================================================================
--- lucene/pylucene/trunk/Makefile (original)
+++ lucene/pylucene/trunk/Makefile Fri Mar 17 02:05:37 2017
@@ -373,7 +373,7 @@ ARCHIVE=pylucene-$(VERSION)-src.tar.gz
 distrib:
 	mkdir -p distrib
 	svn export --force . distrib/pylucene-$(VERSION)
-	tar -cf - --exclude build $(LUCENE_SRC) | tar -C distrib/pylucene-$(VERSION) -xvf -
+	tar -cf - --exclude build `find $(LUCENE_SRC) -type l | xargs -n 1 echo --exclude` $(LUCENE_SRC)
| tar -C distrib/pylucene-$(VERSION) -xvf -
 	cd distrib; tar --disable-copyfile -cvzf $(ARCHIVE) pylucene-$(VERSION)
 	cd distrib; gpg2 --armor --output $(ARCHIVE).asc --detach-sig $(ARCHIVE)
 	cd distrib; md5sum $(ARCHIVE) > $(ARCHIVE).md5



Mime
View raw message