summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/init.sh b/include/init.sh
index 557f7d57..d6d9a4bb 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -71,6 +71,8 @@ xbmk_set_env()
if [ "$is_child" = "y" ]; then
xbmk_child_set_tmp
+ [ -z "${XBMK_CACHE+x}" ] && err "XBMK_CACHE unset on child"
+ [ -z "${XBMK_THREADS+x}" ] && xbmk_set_threads; :
return 1
fi
@@ -136,9 +138,6 @@ xbmk_child_set_tmp()
xbtmp="$xbtmpchk"
export TMPDIR="$xbtmpchk"
-
- [ -z "${XBMK_CACHE+x}" ] && err "XBMK_CACHE unset on child"
- [ -z "${XBMK_THREADS+x}" ] && xbmk_set_threads; :
}
xbmk_parent_check_tmp()