From 47b9398782fc281599a0864f153db228c4e79ed8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 17 Sep 2010 00:47:25 +0200 Subject: Making rmdir calls on cleanups more robust. --- scripts/build/lb_clean | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/build/lb_clean') diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean index e5ae3df6e..f0e43a54b 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) -- cgit v1.2.3