summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-09-06 15:12:59 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-09-06 15:12:59 +0200
commit30e0f419888488245be154c5237bdcf175a3f6c3 (patch)
treef265d21ba9ee0e463b55d7e0186abe6fed954b66 /scripts
parent9c96a472162df344172e5c59f0f531cb97e9989e (diff)
downloadptxdist-30e0f419888488245be154c5237bdcf175a3f6c3.tar.gz
ptxdist-30e0f419888488245be154c5237bdcf175a3f6c3.tar.xz
ptxd_make_world_clean: ignore missing ipkgs
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-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 80bc43402..8780ac569 100644
--- a/scripts/lib/ptxd_make_world_clean.sh
+++ b/scripts/lib/ptxd_make_world_clean.sh
@@ -16,7 +16,7 @@ ptxd_make_world_clean() {
if [ -f "${pkg_xpkg_map}" ]; then
echo "Deleting ipks:"
for name in $(< "${pkg_xpkg_map}"); do
- ls "${ptx_pkg_dir}/${name}"{,-dbgsym}_*.ipk
+ ls "${ptx_pkg_dir}/${name}"{,-dbgsym}_*.ipk 2>/dev/null
rm -f "${ptx_pkg_dir}/${name}"{,-dbgsym}_*.ipk
done
echo