3 # ideas for this stolen from
4 # http://archives.eyrie.org/software/devel/git-pbuilder
8 if [ -z "$DIST" ]; then
12 # no sense having a backport for sid
13 if [ "$DIST" == "sid" ]; then
17 if [ -n "$ARCH" ]; then
23 if [ -n "$BACKPORT" ]; then
29 OPTIONS="${OPTIONS:-}"
30 if [ "$DIST" = "etch" ]; then
31 OPTIONS="$OPTIONS --debian-etch-workaround"
34 if [ -z "$BUILDRESULT" ]; then
38 pdebuild --buildresult "$BUILDRESULT" \
39 --debbuildopts "-i\.git -I.git $*" \
41 -- --basepath ~/pbuilder/base_"${DIST}${BACKPORT}${ARCH}" ${OPTIONS} "$@"