summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_clean.sh
diff options
context:
space:
mode:
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