summaryrefslogtreecommitdiff
path: root/xibuild.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-05 23:04:50 +0100
committerdavidovski <david@davidovski.xyz>2022-05-05 23:04:50 +0100
commit10bc95fa1fa9ab64995c298614708a277488be52 (patch)
tree8cd6c3ad83929d5df9b336896e21f47088e39722 /xibuild.sh
parent72e8165da99e890050119ffb63c9a68974e42504 (diff)
redirect strip warnings to stdoutv1.0
Diffstat (limited to 'xibuild.sh')
-rw-r--r--xibuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/xibuild.sh b/xibuild.sh
index 72f65c8..d9853de 100644
--- a/xibuild.sh
+++ b/xibuild.sh
@@ -120,10 +120,10 @@ xibuild_strip () {
$(find $root/$export_dir/ -type f -name \*.so* ! -name \*dbg) \
$(find $root/$export_dir/ -type f -name \*.a) \
$(find $root/$export_dir/ -type f -executable ); do
- strip --strip-unneeded $file
+ strip --strip-unneeded $file 2>&1
done
- find $root/$export_dir -name \*.la -delete
+ find $root/$export_dir -name \*.la -delete 2>&1
}
xibuild_package () {
@@ -162,7 +162,7 @@ xibuild_describe () {
echo "NAME=$name"
echo "DESCRIPTION=$DESC"
echo "PKG_FILE=$name.xipkg"
- echo "CHECKSUM=$(md5sum $xipkg | awk '{ print $1 }')"
+ echo "CHECKSUM=$(sha512sum $xipkg | awk '{ print $1 }')"
echo "VERSION=$pkg_ver"
echo "SOURCE=$SOURCE"
echo "DATE=$(stat -t $xipkg | cut -d' ' -f13 | xargs date -d)"