summaryrefslogtreecommitdiff
path: root/scripts/build/lb_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-17 00:47:25 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:23 +0100
commit47b9398782fc281599a0864f153db228c4e79ed8 (patch)
treece1ca2cb53eafcdaafe713c3884227b82962436e /scripts/build/lb_clean
parent5bfb0b2b5b8ce7ed42dbc3ba5c4de761528a1b4b (diff)
downloadlive-build-47b9398782fc281599a0864f153db228c4e79ed8.zip
live-build-47b9398782fc281599a0864f153db228c4e79ed8.tar.gz
Making rmdir calls on cleanups more robust.
Diffstat (limited to 'scripts/build/lb_clean')
-rwxr-xr-xscripts/build/lb_clean5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index e5ae3df..f0e43a5 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -62,10 +62,7 @@ do
LH=1 "${0}" noauto --stage
LH=1 "${0}" noauto --source
- if [ -d auto ]
- then
- rmdir --ignore-fail-on-non-empty auto
- fi
+ rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
;;
--cache)