Blame SOURCES/0001-Makefile.am-fix-make-dist-from-tarballs.patch

771451
From cadee7a6670c42cddb0869f476327285aa5b219b Mon Sep 17 00:00:00 2001
771451
From: Lars Uebernickel <lars@uebernic.de>
771451
Date: Mon, 30 May 2016 17:45:27 +0200
771451
Subject: Makefile.am: fix make dist from tarballs
771451
771451
When not inside a git checkout, `make dist` echos the directories to
771451
include. Tar expects them to be newline-separated.
771451
771451
Fixes #4494
771451
---
771451
 Makefile.am | 2 +-
771451
 1 file changed, 1 insertion(+), 1 deletion(-)
771451
771451
diff --git a/Makefile.am b/Makefile.am
771451
index 9ec83da..d4cfab4 100644
771451
--- a/Makefile.am
771451
+++ b/Makefile.am
771451
@@ -255,7 +255,7 @@ COMMITTED_DIST = \
771451
 
771451
 # Build up the distribution using $COMMITTED_DIST and include node_modules and bower licenses
771451
 dist-hook: dist-doc-hook
771451
-	( cd $(srcdir); git ls-tree HEAD --name-only -r $(COMMITTED_DIST) || echo $(COMMITTED_DIST) ) | \
771451
+	( cd $(srcdir); git ls-tree HEAD --name-only -r $(COMMITTED_DIST) || (echo $(COMMITTED_DIST) | tr ' ' '\n' ) ) | \
771451
 		tar -C $(srcdir) -cf - -T - | tar -C $(distdir) -xf -
771451
 	tar -C $(srcdir) -cf - --exclude='phantomjs*' --exclude='jshint*' node_modules/ | tar -C $(distdir) -xf -
771451
 	echo $(VERSION) > $(distdir)/.tarball
771451
-- 
771451
1.8.3.1
771451