summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-repo.sh3
-rwxr-xr-xxibuild2
2 files changed, 2 insertions, 3 deletions
diff --git a/build-repo.sh b/build-repo.sh
index d6200a3..6b1b1a2 100755
--- a/build-repo.sh
+++ b/build-repo.sh
@@ -129,7 +129,7 @@ generate-package-list () {
echo "" > packages.list
for file in $(ls -1 *.xipkg); do
- echo "$file $(md5sum $file)" >> packages.list
+ echo "$file $(md5sum $file | awk '{print $1}') $(du -s $file | awk '{print $1}') $(gzip -cd $file | tar -tvv | grep -c ^-)" >> packages.list
done;
cd -
}
@@ -150,7 +150,6 @@ add-additional () {
clean () {
rm -rf xipkgs
rm -rf logs
- chmod -R 777 tmp
rm -rf tmp
rm -rf xibuild.log
}
diff --git a/xibuild b/xibuild
index a9fad9b..1031dd3 100755
--- a/xibuild
+++ b/xibuild
@@ -156,7 +156,7 @@ xibuild () {
fi
printf "$INFO\tarchiving package...";
- tar -C $PKG_DEST -czf $PKG_FILE ./ >> $LOGFILE 2>&1 && printf "$PASS archived to $(du -sh $PKG_FILE | awk '{ print $1 }')\n" || return 1;
+ tar -C $PKG_DEST -cvzf $PKG_FILE ./ >> $LOGFILE 2>&1 && printf "$PASS archived to $(du -sh $PKG_FILE | awk '{ print $1 }')\n" || return 1;
# create info file