From aa617bb85452fc629612d9d6750108e0591fb71c Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 1 Oct 2017 14:59:47 +0200 Subject: [PATCH] adjust dist-hook to syntax change in .gitignore don't try to delete files in / ... amends 46e792c3d. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 37ab176..557742f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,7 +63,7 @@ deb: dist-hook: find $(distdir)/debian \( -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf - -cd $(distdir)/debian && test -f .gitignore && rm -rf `cat .gitignore` .gitignore + -cd $(distdir)/debian && test -f .gitignore && rm -rf `cut -c2- .gitignore` .gitignore dist-sign: dist gpg -b -a $(PACKAGE)-$(VERSION).tar.gz