diff --git a/resolve-debbuilddeps.sh b/resolve-debbuilddeps.sh index 82814db..f0f2496 100755 --- a/resolve-debbuilddeps.sh +++ b/resolve-debbuilddeps.sh @@ -12,15 +12,14 @@ SCHROOTNAME="$1" -svn update || true -./bootstrap -c +sed 's,@[^@]*@, dummytext,g' debian/control.in > debian/control if test -n "${SCHROOTNAME}"; then - DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1) + DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1 || true) else - DEPS=$(dpkg-checkbuilddeps 2>&1) + DEPS=$(dpkg-checkbuilddeps 2>&1 || true) fi -DEPS=$(echo "$DEPS" | | sed -n '/Unmet build dependencies/ { s,.*Unmet build dependencies: ,,g; s, ([^)]*),,g; s, *| *,|,g; p}') +DEPS=$(echo "$DEPS" | sed -n '/Unmet build dependencies/ { s,.*Unmet build dependencies: ,,g; s, ([^)]*),,g; s, *| *,|,g; p}') for pa in ${DEPS}; do success=0