summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-03-09 21:21:26 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-03-09 21:21:26 +0000
commit26bc0cce05dc611039a2ebe4f4f0047511fab963 (patch)
tree7088e0772eba44cc2f63b6b7458d4cc3cfd67a36
parentf183c081cbece4ab7309ef05d2229ff89c9b0441 (diff)
Update sbuild-stuff
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@497 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xsbuild-stuff6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbuild-stuff b/sbuild-stuff
index d6659b7..8890c68 100755
--- a/sbuild-stuff
+++ b/sbuild-stuff
@@ -58,7 +58,7 @@ read dscdist debian_version <<< "$metadata"
if [ -z "${DIST:-}" ]; then
DIST=sid
- for d in lenny squeeze wheezy dapper hardy karmic lucid maverick natty; do
+ for d in lenny squeeze wheezy dapper hardy karmic lucid maverick natty oneiric; do
if echo $debian_version | grep -q "$d" ; then
DIST="$d"
break
@@ -79,9 +79,9 @@ if [ -z "${ARCH:-}" ]; then
fi
if [ "$BINARCH" = 1 ]; then
- extra=""
+ extra="${EXTRA_ARGS:-}"
else
- extra="-s --arch-all"
+ extra="${EXTRA_ARGS:-} -s --arch-all"
fi
sbuild --arch="$ARCH" --dist="$DIST" --apt-update $extra "$DSC"