diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-27 09:44:34 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-27 16:37:01 +0200 |
commit | 37e5c5918e12b85a93070b907ce3ed376b0fce82 (patch) | |
tree | aa472dfce4884651b30d5e3d6b7c73a0dcee1eaa | |
parent | 8e81cca55b1d591660f7f4db0576fdd2de731861 (diff) | |
download | OSELAS.Toolchain-37e5c5918e12b85a93070b907ce3ed376b0fce82.tar.gz OSELAS.Toolchain-37e5c5918e12b85a93070b907ce3ed376b0fce82.tar.xz |
ptxd_make_toolchain_cleanup: hide error messages when removing directories fails
And change the comment. These directories are no longer shared between
toolchains, so the old comment is obsolte. But it's still needed for
"ptxdist print"
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/lib/ptxd_make_toolchain.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_toolchain.sh b/scripts/lib/ptxd_make_toolchain.sh index 3ffa560..0000801 100644 --- a/scripts/lib/ptxd_make_toolchain.sh +++ b/scripts/lib/ptxd_make_toolchain.sh @@ -13,8 +13,8 @@ ptxd_make_toolchain_cleanup() { # packages install to pkgdir anyways and this avoid empty directories # in the final toolchain rmdir --ignore-fail-on-non-empty \ - {"${sysroot_cross}","${sysroot_target}"{,/usr}}/{etc,lib,{,s}bin,include,{,share/}man/{man*,},share} - # errors may occur when multiple toolchains are built at the same time + {"${sysroot_cross}","${sysroot_target}"{,/usr}}/{etc,lib,{,s}bin,include,{,share/}man/{man*,},share} 2>/dev/null + # errors may occur because the dirs may not exist (e.g. for 'ptxdist print'). true } |