From: Travis Cross Date: Sat, 2 Jun 2012 16:18:53 +0000 (+0000) Subject: debian: don't rebuild dsc files X-Git-Tag: v1.2.0~290^2~9^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9ff6e3755e607037ef8b8dd33cd19524ea1aad;p=thirdparty%2Ffreeswitch.git debian: don't rebuild dsc files --- diff --git a/debian/util.sh b/debian/util.sh index 7844ff0de1..9d87cde130 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -235,9 +235,10 @@ build_debs () { { set -e local OPTIND OPTARG debug_hook=false hookdir="" cow_build_opts="" - while getopts 'Bd' o "$@"; do + while getopts 'Bbd' o "$@"; do case "$o" in B) cow_build_opts="--debbuildopts '-B'";; + b) cow_build_opts="--debbuildopts '-b'";; d) debug_hook=true;; esac done @@ -312,7 +313,7 @@ build_all () { local dsc="$(create_dsc $dsc_opts $distro $orig 2>../log/$distro | tail -n1)" echo "Done creating $distro dsc." >&2 if [ "${dsc:0:2}" = ".." ]; then - local lopts="" + local lopts="-b" for arch in $archs; do { echo "Building $distro-$arch debs..." >&2 @@ -363,6 +364,7 @@ commands: build-debs -B Binary architecture-dependent build + -b Binary-only build -d Enable cowbuilder debug hook create-dbg-pkgs