From 2e3c3afecdaf3c1e6ee8d90dc510ca6b50c68d87 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 00:09:22 +0100 Subject: fixed previous commit to work properly --- xibuild.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xibuild.sh b/xibuild.sh index 08ce23d..15f0aa3 100644 --- a/xibuild.sh +++ b/xibuild.sh @@ -198,20 +198,19 @@ xibuild_sign () { } } -xipkg_install () { +xibuild_install () { for xipkg in $(ls $out_dir/*.xipkg); do xipkg -nyl -r $root install $xipkg done } -clean () { +xibuild_clean () { for xipkg in $(ls $out_dir/*.xipkg*); do rm $xipkg done rm $out_dir/build.log } - while getopts ":r:C:k:p:b:d:vcinh" opt; do case "${opt}" in r) @@ -245,7 +244,7 @@ tasks="prepare fetch build strip package describe" [ "$key_file" ] && tasks="$tasks sign" -$doinstall && tasks="$tasks xipkg_install" +$doinstall && tasks="$tasks install" $doclean && tasks="$tasks clean" [ "$#" = "1" ] && { -- cgit v1.2.1