summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-26 22:01:09 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-26 22:01:09 -0400
commit042468f48fa4b7de28fd51c4416af31f6be2dfde (patch)
tree0a49f06f59f2e92e7ebd979295dd9db0e10dc986 /tools
parenta88538c095c0100e7386e10905f6301716c54815 (diff)
tools/notsd-move: avoid dangling empty directories
Diffstat (limited to 'tools')
-rwxr-xr-xtools/notsd-move2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/notsd-move b/tools/notsd-move
index bd4009f518..50be86f623 100755
--- a/tools/notsd-move
+++ b/tools/notsd-move
@@ -48,7 +48,6 @@ grp() {
move_files() (
# first focus on getting directories to the right names.
- mv -T src/{,systemd-}dbus1-generator
mv -T src/{,systemd-}debug-generator
mv -T src/{,systemd-}fstab-generator
mv -T src/{,systemd-}getty-generator
@@ -831,6 +830,7 @@ run() (
move() (
find . \( -name Makefile -o -name '*.mk' \) -delete
+ find src -type d -empty -exec rmdir -p --ignore-fail-on-non-empty -- {} +
>&2 echo ' => breakup_zshcompletion'
run breakup_zshcompletion