chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d3555d5
)
Merge commit 'refs/top-bases/debian/locations' into debian/locations
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 5 Mar 2009 09:56:34 +0000
(10:56 +0100)
committer
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Thu, 5 Mar 2009 09:56:34 +0000
(10:56 +0100)
debian/tg2quilt.mk
patch
|
blob
|
history
diff --git
a/debian/tg2quilt.mk
b/debian/tg2quilt.mk
index 66e9d4123ac0ab758c334ebea0e64819f387b308..4ec27e27e12028fcd1a14aba4e951b0659e5b2fb 100644
(file)
--- a/
debian/tg2quilt.mk
+++ b/
debian/tg2quilt.mk
@@
-122,7
+122,7
@@
else
# remove the series file
test -f $(QUILT_PATCH_DIR)/series && rm $(QUILT_PATCH_DIR)/series || :
# try to remove directories
- find $(QUILT_PATCH_DIR) -
type d | tac | xargs rmdir 2>/dev/null || :
+ find $(QUILT_PATCH_DIR) -
depth -type d -empty -execdir rmdir {} +
# fail if the directory could not be removed and still exists
@test ! -d $(QUILT_PATCH_DIR) || { \
echo "E: $(QUILT_PATCH_DIR) contains non-TopGit-generated files:" >&2; \