summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_compile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/ptxd_make_world_compile.sh')
-rw-r--r--scripts/lib/ptxd_make_world_compile.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_compile.sh b/scripts/lib/ptxd_make_world_compile.sh
index 3647e8248..b325d45b1 100644
--- a/scripts/lib/ptxd_make_world_compile.sh
+++ b/scripts/lib/ptxd_make_world_compile.sh
@@ -13,6 +13,11 @@
ptxd_make_world_compile() {
ptxd_make_world_init &&
+ if [ -z "${pkg_build_dir}" ]; then
+ # no build dir -> assume the package has nothing to build.
+ return
+ fi &&
+
eval \
"${pkg_path}" \
"${pkg_env}" \