summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximiliano Curia <maxy@debian.org>2015-03-26 17:22:13 +0100
committerMaximiliano Curia <maxy@debian.org>2015-03-26 17:22:13 +0100
commit0b560297f7b8167758eb399f318eb98bb013df86 (patch)
tree260c35f798cc86d7ea33fed4dc4533b9e71fd0af
parented78c97b898022c79bf3bceca0816cc1765cc690 (diff)
downloadpkg-kde-tools-0b560297f7b8167758eb399f318eb98bb013df86.tar.gz
A working version of the list-missing wildcards
-rw-r--r--qt-kde-team/3/list-missing.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-kde-team/3/list-missing.mk b/qt-kde-team/3/list-missing.mk
index 388d304..5aebaf7 100644
--- a/qt-kde-team/3/list-missing.mk
+++ b/qt-kde-team/3/list-missing.mk
@@ -25,9 +25,9 @@ list-missing:
(for package in $(shell dh_listpackages); do \
(cd debian/$$package && find . -type f -o -type l); \
done; \
- test -e debian/not-installed && grep -v '^#' debian/not-installed | \
- while read glob_patt; do \
- (cd debian/tmp; find . -path ./"$${glob_patt}" '(' -type f -o -type l ')'); \
+ test -e debian/not-installed && sed '/^#/d;/^$$/d;s|/$$||;/^\.\//!s|^|./|' debian/not-installed | \
+ while read glob_patt; do \
+ (cd debian/tmp; find . '(' -path "$${glob_patt}" -o -path "$${glob_patt}"'/*' ')' '(' -type f -o -type l ')'); \
done; \
) | sort -u > debian/dhmk-package-list; \
diff -u debian/dhmk-install-list debian/dhmk-package-list | sed '1,2d' | egrep '^-' || true; \