summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_clean.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-02-23 22:27:28 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-03-05 07:55:23 +0100
commit6dbb9f7602677b2b6407ff9b8ad1d09d449c76b6 (patch)
tree9579d4ac24d75aaddc86ebcd429991853e85c962 /scripts/lib/ptxd_make_world_clean.sh
parentea09772241e68d8d4451c9977b35eb52c42db55b (diff)
downloadptxdist-6dbb9f7602677b2b6407ff9b8ad1d09d449c76b6.tar.gz
ptxdist-6dbb9f7602677b2b6407ff9b8ad1d09d449c76b6.tar.xz
[lib] define and use pkg_xpkg_map
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.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_world_clean.sh b/scripts/lib/ptxd_make_world_clean.sh
index f173ac1db..87b7ab994 100644
--- a/scripts/lib/ptxd_make_world_clean.sh
+++ b/scripts/lib/ptxd_make_world_clean.sh
@@ -13,9 +13,9 @@
ptxd_make_world_clean() {
ptxd_make_world_init &&
- if [ -f "${ptx_state_dir}/${pkg_label}.xpkg.map" ]; then
+ if [ -f "${pkg_xpkg_map}" ]; then
echo "Deleting ipks:"
- for name in $(cat "${ptx_state_dir}/${pkg_label}.xpkg.map" 2>/dev/null); do
+ for name in $(cat "${pkg_xpkg_map}" 2>/dev/null); do
ls "${ptx_pkg_dir}/${name}"_*.ipk
rm -f "${ptx_pkg_dir}/${name}"_*.ipk
done