]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
build: ensure proper path is cleaned of .git files.
authorAdam Sutton <dev@adamsutton.me.uk>
Sat, 12 Jan 2013 20:13:33 +0000 (20:13 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Sat, 12 Jan 2013 20:30:03 +0000 (20:30 +0000)
support/posix.mk

index 2994fc5a8f29af6569ae32b48c9800e97085c0b3..f77677d73638ae19cd6d8bf038320f6fa951f5be 100644 (file)
@@ -13,7 +13,7 @@ install: ${PROG} ${MAN}
                cp -r $$bundle/*  ${DESTDIR}${datadir}/tvheadend/$$bundle ;\
        done
 
-       find ${DESTDIR} -name .git -exec rm -rf {} \;
+       find ${DESTDIR}${datadir}/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
 
 uninstall:
        rm -f ${DESTDIR}${bindir)/tvheadend