The extra arguments after ``./build.sh B <args>`` is extra deb files to pass to
sbuild to use as dependencies. In this case, ``librust-A*.deb`` should have
-been built by the previous step. Alternatively, use the environment variable
-``EXTRA_DEBS``, like so: ::
-
- $ EXTRA_DEBS=librust-A*.deb ./build.sh B
- $ EXTRA_DEBS=librust-A.deb,librust-B.deb ./build.sh C
+been built by the previous step.
After everything is built successfully, you can ``dput`` all of them and then
push all the ``pending-*`` branches as normal.
# Build using another schroot than debcargo-unstable-amd64-sbuild
# SBUILD_OPTS=
# will pass to sbuild; for example SBUILD_OPTS=--arch=i386
-# EXTRA_DEBS
-# Include extra dependency debs, e.g. EXTRA_DEBS=librust*.deb.
set -e
SCRIPTDIR="$(dirname $(readlink -f "$0"))"
fi
fi
-# allow tab, comma, space as separators
-IFS=' , ' read -r -a EXTRA_DEBS <<< "$EXTRA_DEBS"
-if [ ${#EXTRA_DEBS[@] -eq 0 ]; then
- EXTRA_DEBS=( "$@" )
-fi
-if [ ${#EXTRA_DEBS[@] -ne 0 ]; then
+EXTRA_DEBS=( "$@" )
+if [ -n "$*" -a -z "$IGNORE_MISSING_BUILD_DEPS" ]; then
IGNORE_MISSING_BUILD_DEPS=1
echo >&2 "Given non-empty extra debs; defaulting IGNORE_MISSING_BUILD_DEPS=1"
fi