From cbb1356ec0d33fd9087173e35316878f3c9349d5 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 26 Jun 2015 14:02:50 +0200 Subject: ptxd_make_world_patchin: don't fail on packages that don't extract anything Since commit b6f9a55b3ddc ptxd_make_world_patchin: run use pkg_dir for patchin_fixup ptxdist will fail on packages that define a _DIR but don't create that during extract stage. This patch fixes the problem. Signed-off-by: Marc Kleine-Budde --- scripts/lib/ptxd_make_world_patchin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh index 170237ff9..e447e0546 100644 --- a/scripts/lib/ptxd_make_world_patchin.sh +++ b/scripts/lib/ptxd_make_world_patchin.sh @@ -491,7 +491,7 @@ ptxd_make_world_patchin_post() { ptxd_make_world_autogen fi ) fi && - if [ -n "${pkg_dir}" ]; then ( + if [ -e "${pkg_dir}" ]; then ( cd "${pkg_dir}" && if [ "${pkg_type}" = "target" ]; then ptxd_make_world_patchin_fixup -- cgit v1.2.3