aboutsummaryrefslogtreecommitdiff
path: root/debuild-pbuilder
blob: 1efdb6bb7966bcb3a1a8bf34c9fbcd627bd83872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -e

while ! test -d ./debian -o "$(pwd)" = "/" ; do
    cd ..;
done

if test ! -d ./debian; then
    echo "Cannot find ./debian dir"
    exit 1
fi;

. /usr/lib/pbuilder/pbuilder-loadconfig
"$PBUILDERROOTCMD" /usr/lib/pbuilder/pbuilder-satisfydepends
/usr/bin/debuild "$@"