From ad2d67b62f0664d123ae60227f88aa97fbc73406 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 6 May 2008 09:39:10 +0100 Subject: [PATCH] set defaults for arch and dist --- mbuild.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mbuild.sh b/mbuild.sh index 1ea10b6..bca4840 100755 --- a/mbuild.sh +++ b/mbuild.sh @@ -59,6 +59,9 @@ for opt in "$@"; do esac done +[ -z "$arch" ] && arch="$(dpkg-architecture -qDEB_BUILD_ARCH)" +[ -z "$dist" ] && dist="sid" + schangesfile_basename="${schangesfile##*/}" packagenameversion="${schangesfile_basename%_*}" -- 2.39.5