Selaa lähdekoodia

adjust dist-hook to syntax change in .gitignore

don't try to delete files in / ...

amends 46e792c3d.
Oswald Buddenhagen 7 vuotta sitten
vanhempi
sitoutus
aa617bb854
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Makefile.am

+ 1 - 1
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