DEBREPO_DEPS=${DEBREPO_DEPS:-~/debian-externals}
DEBDISTRO=${DEBDISTRO:-stable}
#PBUILDER_OPTS='--debbuildopts "-j8"'
+#PDEBUILD_OPTS='--use-pdebuild-internal'
EXCLUDE=${EXCLUDE:-''}
if test "x$1" = "x-r"; then
touch $REPORTS/fail.$BASENAME
(cd $DIR; dpkg-source -x "`basename $FILE`")
SUBDIR=`find $DIR -maxdepth 1 -type d -name ${BASENAME}-\* | head -n 1`
- (cd $SUBDIR; pdebuild --buildresult $BASEDIR/results/pbuilder --auto-debsign --debsign-k $KEY_ID -- --hookdir $LAUNCHDIR/pbuilder $PBUILDER_OPTS)
+ (cd $SUBDIR; pdebuild --buildresult $BASEDIR/results/pbuilder --auto-debsign --debsign-k $KEY_ID $PDEBUILD_OPTS -- --hookdir $LAUNCHDIR/pbuilder $PBUILDER_OPTS)
mv $DIR/*.build $REPORTS
CHANGES=`find results/pbuilder -type f -name ${BASENAME}_\*.changes | head -n 1`
# upload invalides the gpg sign