summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-06-19 13:55:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-06-21 09:34:51 +0200
commitef43789b9828386a670b853ecc5cfd5471c5ecc4 (patch)
tree5cd59c63b2ec00872ab2a6b5455c9e3c7a7c1add /scripts
parent56f6cc230a0783905c6304b9473988dec1afef74 (diff)
downloadptxdist-ef43789b9828386a670b853ecc5cfd5471c5ecc4.tar.gz
ptxdist-ef43789b9828386a670b853ecc5cfd5471c5ecc4.tar.xz
ptxd_make_world_clean: fix ipkg deletion
stderr redirection does not work with '$(< ...)' 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 e398f19d1..858decaea 100644
--- a/scripts/lib/ptxd_make_world_clean.sh
+++ b/scripts/lib/ptxd_make_world_clean.sh
@@ -15,7 +15,7 @@ ptxd_make_world_clean() {
if [ -f "${pkg_xpkg_map}" ]; then
echo "Deleting ipks:"
- for name in $(< "${pkg_xpkg_map}" 2>/dev/null); do
+ for name in $(< "${pkg_xpkg_map}"); do
ls "${ptx_pkg_dir}/${name}"_*.ipk
rm -f "${ptx_pkg_dir}/${name}"_*.ipk
done