From a99f0b94d40269c6ae716b46c78ebc458234c30f Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Thu, 11 Jun 2015 15:20:43 +0200 Subject: ptxd_make_world_extract.sh: don't remove pkg_extract_dir too early, it might point to builddir This patch fixes: eeb8ec75531b ptxd_make_world_extract: remove pkg_extract_dir before creating it Signed-off-by: Marc Kleine-Budde --- scripts/lib/ptxd_make_world_extract.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/ptxd_make_world_extract.sh') diff --git a/scripts/lib/ptxd_make_world_extract.sh b/scripts/lib/ptxd_make_world_extract.sh index 12dfbb6cb..86fd40b42 100644 --- a/scripts/lib/ptxd_make_world_extract.sh +++ b/scripts/lib/ptxd_make_world_extract.sh @@ -25,7 +25,6 @@ ptxd_make_world_extract() { fi pkg_extract_dir="${pkg_deprecated_extract_dir:-${pkg_extract_dir}}" - rm -rf "${pkg_extract_dir}" || return case "${pkg_url}" in lndir://*) @@ -59,6 +58,7 @@ ptxd_make_world_extract() { ;; esac + rm -rf "${pkg_extract_dir}" && mkdir -p "${pkg_extract_dir}" || return ptxd_make_serialize_take -- cgit v1.2.3