diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-19 13:55:34 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-21 09:34:51 +0200 |
commit | ef43789b9828386a670b853ecc5cfd5471c5ecc4 (patch) | |
tree | 5cd59c63b2ec00872ab2a6b5455c9e3c7a7c1add /scripts | |
parent | 56f6cc230a0783905c6304b9473988dec1afef74 (diff) | |
download | ptxdist-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.sh | 2 |
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 |