summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/init.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/init.sh b/include/init.sh
index c9be7e0c..dbe6bcd9 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -204,6 +204,11 @@ xbmk_child_init()
x_ ln -s "`pybin "$python"`" python
) || $err "Can't set up python symlink in $XBMK_CACHE/xbmkpath"
+ xbmk_child_exec "$@"
+}
+
+xbmk_child_exec()
+{
xbmk_rval=0
( x_ ./mk "$@" ) || xbmk_rval=1
rm -Rf "$xbmktmp" || xbmk_rval=1