summaryrefslogtreecommitdiffstats
path: root/generate-packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate-packages.sh')
-rwxr-xr-xgenerate-packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-packages.sh b/generate-packages.sh
index c48d328..7b1b244 100755
--- a/generate-packages.sh
+++ b/generate-packages.sh
@@ -139,7 +139,7 @@ do
cat PART3 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script
(cd tmp ; tar zc --owner=root --group=root vendor/ >> $SCRIPT || echo \ \ \ \ Error generating embedded tgz)
chmod a+x tmp/$SCRIPT || echo \ \ \ \ Error generating script
- ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(md5sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
+ ARCHIVE=$COMPANY-$DEVICE-$BUILD-$(sha256sum < tmp/$SCRIPT | cut -b -8 | tr -d \\n).tgz
rm -f $ARCHIVE
echo \ \ Generating final archive
(cd tmp ; tar --owner=root --group=root -z -c -f ../$ARCHIVE $SCRIPT || echo \ \ \ \ Error archiving script)