浏览代码

adjust dist-hook to syntax change in .gitignore

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

amends 46e792c3d.
Oswald Buddenhagen 7 年之前
父节点
当前提交
aa617bb854
共有 1 个文件被更改,包括 1 次插入1 次删除
  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