summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-13 11:55:54 +0000
committerdavidovski <david@davidovski.xyz>2022-02-13 11:55:54 +0000
commitb544c761ffebeb5786682c11d60691d857e72cb2 (patch)
treef217aaf5a6b024aed50f5a35c44dd2cd060ae4dd
parent1edf198072c1b3c649565d4ac002cbf08744a192 (diff)
added check before making all package infos
-rwxr-xr-xxibuild/make_infos.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/xibuild/make_infos.sh b/xibuild/make_infos.sh
index 16cf642..de68f35 100755
--- a/xibuild/make_infos.sh
+++ b/xibuild/make_infos.sh
@@ -63,10 +63,12 @@ for pkg in $list; do
info_file="$XIB_EXPORT/repo/$repo/$name.xipkg.info"
build_file="$XIB_EXPORT/repo/$repo/$name.xibuild"
- source $build_file
+ if [ ! -f $info_file ]; then
+ source $build_file
- get_info $pkg > $info_file
- sign $pkg >> $info_file
+ get_info $pkg > $info_file
+ sign $pkg >> $info_file
+ fi
list_line $pkg >> "$XIB_EXPORT"/repo/$repo/packages.list
hbar -T "generating info" $i $total