From: martin f. krafft Date: Thu, 31 Dec 2009 23:29:37 +0000 (+0100) Subject: pass -D through to sbuild X-Git-Url: https://git.madduck.net/code/mbuild.git/commitdiff_plain/01d6356b34d4735dffc414feadf516160c029193?ds=sidebyside;pf=code pass -D through to sbuild --- diff --git a/sbuild-wrapper.sh b/sbuild-wrapper.sh index ead8053..12e178c 100755 --- a/sbuild-wrapper.sh +++ b/sbuild-wrapper.sh @@ -72,6 +72,7 @@ for opt in "$@"; do -h|--help) usage; exit 0;; -V|--version) about; exit 0;; --arch=*) arch="${opt#--arch=}";; + -D) sbuild_args="${sbuild_args:+$sbuild_args }$opt";; -sa) sbuild_args="${sbuild_args:+$sbuild_args }--force-orig-source";; -B) binonly=1;; --*) sbuild_args="${sbuild_args:+$sbuild_args }$opt";;