[Pkg-javascript-commits] [datatables-extensions] 15/17: Remove empty dir

Andreas Tille tille at debian.org
Wed Jan 3 07:44:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository datatables-extensions.

commit d29a0f327869326bc797eed59c8aaa877cfa5997
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 3 08:42:49 2018 +0100

    Remove empty dir
---
 debian/get-orig-source | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 26c9b69..c510e5a 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -21,6 +21,7 @@ TARDIR=${NAME}-${VERSION}
 mv ${NAME} ${TARDIR}
 rm -rf ${TARDIR}/.git
 for excl in `grep "^Files-Excluded:" ${CURDIR}/debian/copyright | sed 's/^Files-Excluded: *//'` ; do find ${TARDIR} -path $excl -delete ; done
+find ${TARDIR} -type d -empty | xargs rmdir
 
 GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
 rm -rf ${TARDIR}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/datatables-extensions.git



More information about the Pkg-javascript-commits mailing list