contrib/builddeb
changeset 26108 05306b9359d3
parent 26090 e5f2a2a095cb
child 26148 7f49efcaa9b4
--- a/contrib/builddeb	Wed Aug 26 10:20:07 2015 -0400
+++ b/contrib/builddeb	Tue Aug 25 00:02:44 2015 -0400
@@ -7,9 +7,14 @@
 . $(dirname $0)/packagelib.sh
 
 BUILD=1
-DEBBUILDDIR="$PWD/debbuild"
+DEBVERSION=jessie
 while [ "$1" ]; do
     case "$1" in
+    --release )
+        shift
+        DEBVERSION="$1"
+        shift
+        ;;
     --prepare )
         shift
         BUILD=
@@ -26,6 +31,8 @@
     esac
 done
 
+DEBBUILDDIR=${OUTPUTDIR:="$PWD/debbuild"}
+
 set -u
 
 rm -rf $DEBBUILDDIR