From 0280cd4c0e74a6d11e5f2a5d07d914532dfb7983 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 26 Apr 2025 21:28:13 +0100 Subject: init.sh: move parent fork to new function Signed-off-by: Leah Rowe --- include/init.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit v1.2.1