From f48819041cb2fcb71a0778fab7b79d95c6971662 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 19:00:08 +0100 Subject: moved xi_profile to separate --- xibuild.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xibuild.sh') diff --git a/xibuild.sh b/xibuild.sh index 08ce23d..1c3c7d2 100644 --- a/xibuild.sh +++ b/xibuild.sh @@ -20,6 +20,7 @@ checkopt="" root="/" xibuild_profile="/usr/lib/xibuild/xi_profile.sh" +xibuild_script="/usr/lib/xibuild/xi_buildscript.sh" usage () { cat << EOF @@ -115,12 +116,13 @@ xibuild_fetch () { xibuild_build () { install -Dm755 $xibuild_profile $root/$build_dir/xi_profile.sh + install -Dm755 $xibuild_script $root/$build_dir/xi_buildscript.sh mkdir -p $root/$export_dir [ "$root" = "/" ] && { - sh $build_dir/xi_profile.sh $NAME $build_dir $checkopt || return 1 + sh $build_dir/xi_buildscript.sh $NAME $build_dir $checkopt || return 1 } || { - xichroot "$root" "$build_dir/xi_profile.sh $NAME $build_dir $checkopt" || return 1 + xichroot "$root" "$build_dir/xi_buildscript.sh $NAME $build_dir $checkopt" || return 1 } 2>&1 } -- cgit v1.2.1