Codebase list rust-serde-xml-rs / 3d05ab0
Revert "Merge branch 'noctis/extra-debs-env' into 'master'" This reverts merge request !383 Blair Noctis 1 year, 8 months ago
2 changed file(s) with 3 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
103103
104104 The extra arguments after ``./build.sh B <args>`` is extra deb files to pass to
105105 sbuild to use as dependencies. In this case, ``librust-A*.deb`` should have
106 been built by the previous step. Alternatively, use the environment variable
107 ``EXTRA_DEBS``, like so: ::
108
109 $ EXTRA_DEBS=librust-A*.deb ./build.sh B
110 $ EXTRA_DEBS=librust-A.deb,librust-B.deb ./build.sh C
106 been built by the previous step.
111107
112108 After everything is built successfully, you can ``dput`` all of them and then
113109 push all the ``pending-*`` branches as normal.
1515 # Build using another schroot than debcargo-unstable-amd64-sbuild
1616 # SBUILD_OPTS=
1717 # will pass to sbuild; for example SBUILD_OPTS=--arch=i386
18 # EXTRA_DEBS
19 # Include extra dependency debs, e.g. EXTRA_DEBS=librust*.deb.
2018 set -e
2119
2220 SCRIPTDIR="$(dirname $(readlink -f "$0"))"
10098 fi
10199 fi
102100
103 # allow tab, comma, space as separators
104 IFS=' , ' read -r -a EXTRA_DEBS <<< "$EXTRA_DEBS"
105 if [ ${#EXTRA_DEBS[@] -eq 0 ]; then
106 EXTRA_DEBS=( "$@" )
107 fi
108 if [ ${#EXTRA_DEBS[@] -ne 0 ]; then
101 EXTRA_DEBS=( "$@" )
102 if [ -n "$*" -a -z "$IGNORE_MISSING_BUILD_DEPS" ]; then
109103 IGNORE_MISSING_BUILD_DEPS=1
110104 echo >&2 "Given non-empty extra debs; defaulting IGNORE_MISSING_BUILD_DEPS=1"
111105 fi