aboutsummaryrefslogtreecommitdiff
path: root/debuild-pbuilder
blob: 1791e138b1df2e6ab0c3cd48b58e4e842ffecedc (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 "E: Cannot find ./debian dir" >&2
    exit 1
fi;

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