summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_world_patchin.sh2
1 files changed, 1 insertions, 1 deletions
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