summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"