summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_clean.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-01-21 08:28:37 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-01-22 08:50:55 +0100
commitadd78836e84144413a03e198cbbe1db6d35e1329 (patch)
treef542e9ab4c76059108c394a41411e006e3be31bc /scripts/lib/ptxd_make_world_clean.sh
parent74854385d1ef5a1c5bb008a5fd1eae055d0aeec5 (diff)
downloadptxdist-add78836e84144413a03e198cbbe1db6d35e1329.tar.gz
ptxdist-add78836e84144413a03e198cbbe1db6d35e1329.tar.xz
ptxd_make_world_clean: ignore missing directories
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_clean.sh')
-rw-r--r--scripts/lib/ptxd_make_world_clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_clean.sh b/scripts/lib/ptxd_make_world_clean.sh
index 7633fe5cb..ce7907161 100644
--- a/scripts/lib/ptxd_make_world_clean.sh
+++ b/scripts/lib/ptxd_make_world_clean.sh
@@ -50,7 +50,7 @@ ptxd_make_world_clean() {
{ cd "${pkg_sysroot_dir}" && xargs -0 rm -f; }
cd "${pkg_pkg_dir}" && find . -mindepth 1 -depth -type d -print0 | \
{ cd "${pkg_sysroot_dir}" && \
- xargs -0 rmdir --ignore-fail-on-non-empty; }
+ xargs -0 rmdir --ignore-fail-on-non-empty 2> /dev/null; }
echo "Deleting pkg dir:"
echo "${pkg_pkg_dir}"
rm -rf "${pkg_pkg_dir}"