new author url

This commit is contained in:
Marc Wäckerlin
2015-11-02 00:01:34 +00:00
parent 6ed8e7887d
commit 49e4570f9c
4 changed files with 45 additions and 2 deletions

View File

@@ -15,8 +15,11 @@ SCHROOTNAME="$1"
sed 's,@[^@]*@, dummytext,g' debian/control.in > debian/control
if test -n "${SCHROOTNAME}"; then
schroot -c "${SCHROOTNAME}" -u root -d / -- apt-get install -y dpkg-dev
DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1 || true)
else
sudo apt-get install -y dpkg-dev
sudo apt-get update
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}')