From f0905f8cb41ad5cf9045ebe9ba443e7a7c826b75 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Mon, 11 May 2015 00:57:13 +0100 Subject: [PATCH] bin/mdw-build: Don't check Debian version if not doing a Debian build. Organization: Straylight/Edgeware From: Mark Wooding --- bin/mdw-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/mdw-build b/bin/mdw-build index 2af935e..1926ac0 100755 --- a/bin/mdw-build +++ b/bin/mdw-build @@ -226,6 +226,9 @@ case "$debian,$(yesno [ -d $srcpath/debian ])" in info "No debian directory found." debian=no debver=none ;; + no,*) + debver=none + ;; yes,yes) debver=$(dpkg-parsechangelog | sed -n 's/^Version: //p' | tr \~ -) ;; -- [mdw]