changeset 921:419cf0560d45

Create signature for linux installer in linux-createpackage.sh
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 21 Aug 2014 14:50:13 +0200
parents e48ad80c3aca
children 180daa3ecbec
files packaging/linux-createpackage.sh.in
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/linux-createpackage.sh.in	Thu Aug 21 13:58:59 2014 +0200
+++ b/packaging/linux-createpackage.sh.in	Thu Aug 21 14:50:13 2014 +0200
@@ -42,6 +42,10 @@
 sed -i "/###SHAR###/r $TMPSHAR" "$INSTALLER"
 sed -i "/###L10N_DE###/r $L10N_DE_FILE" "$INSTALLER"
 chmod +x "$INSTALLER"
+echo "Signing"
+@CMAKE_SOURCE_DIR@/ui/tests/append-sig.sh @CMAKE_SOURCE_DIR@/ui/tests/data/codesign/codesigning.key \
+                 $INSTALLER ${INSTALLER}_signed
+mv ${INSTALLER}_signed $INSTALLER
 
 echo "Cleaning up..."
 rm -r "$TMPDIR"

http://wald.intevation.org/projects/trustbridge/