[pisa-src] r2419 - trunk/tools/packaging/build_deb

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 24 Jan 2011 11:40:32 +0100

Author: richter
Date: Mon Jan 24 11:40:31 2011
New Revision: 2419

Log:
don't try to gpg-sign the source- or changes-file if no gpg-key is given

Modified:
   trunk/tools/packaging/build_deb

Modified: trunk/tools/packaging/build_deb
==============================================================================
--- trunk/tools/packaging/build_deb     Mon Jan 24 11:29:58 2011        (r2418)
+++ trunk/tools/packaging/build_deb     Mon Jan 24 11:40:31 2011        (r2419)
@@ -11,7 +11,7 @@
     echo "Options:"
     echo "  -o, --output_path OUTPUT_PATH: put packages here"
     echo "  -r, --revision REVISION: add this to version (VERSION-REVISION)"
-    echo "  -k, --key SIG_KEY: gpg-key to sign the release-file"
+    echo "  -k, --key SIG_KEY: gpg-key to sign the release"
     echo "  -p, --pbuilder_path PBUILDER_PATH: store chroot in this path"
     echo "  -a, --architectures ARCHS: archs to build, seperated by space"
     echo "  -h, --help: this help"
@@ -70,6 +70,8 @@
     if [ $ARCH = $(dpkg --print-architecture) ]; then
         if [ $SIG_KEY ]; then
             SIGN_OPTS="-k$SIG_KEY"
+        else
+            SIGN_OPTS="-us -uc"
         fi
         dpkg-buildpackage $SIGN_OPTS
     else
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2419 - trunk/tools/packaging/build_deb - Samuel Richter