summaryrefslogtreecommitdiff
path: root/xibuild.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-17 00:09:22 +0100
committerdavidovski <david@davidovski.xyz>2022-05-17 00:09:22 +0100
commit2e3c3afecdaf3c1e6ee8d90dc510ca6b50c68d87 (patch)
treebb26755cbf26d4002d1a2a368b9609f8ad0ce7c6 /xibuild.sh
parent1e95eb0590151b3041e9ce5ad7d4cb3dd3b322fa (diff)
fixed previous commit to work properly
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 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" ] && {