summaryrefslogtreecommitdiff
path: root/xibuild.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-17 19:09:09 +0100
committerdavidovski <david@davidovski.xyz>2022-05-17 19:09:09 +0100
commit6fa83d488f907119a2f1cd6f709d8952f694855b (patch)
treedfbdbfeed5ab2d0d98f58d6ca064c4aefd89a15b /xibuild.sh
parent5814c982f5bd598342d0635dac233e995680c89e (diff)
parent2e3c3afecdaf3c1e6ee8d90dc510ca6b50c68d87 (diff)
Merge branch 'master' of git.cheetah.remote:xilinux/xibuild
Diffstat (limited to 'xibuild.sh')
-rw-r--r--xibuild.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/xibuild.sh b/xibuild.sh
index 3518783..e26fad5 100644
--- a/xibuild.sh
+++ b/xibuild.sh
@@ -201,20 +201,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)
@@ -248,7 +247,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" ] && {