tags 357066 + patch
thanks

Hi there!

On Thu, 16 Mar 2006 13:20:13 +0100, Junichi Uekawa wrote:
> I was thinking along the lines of making default hooks.  The hooks
> potentially can process the config vars (there is a problem that those
> config vars are outside of chroot, but the general idea is this).

For the last reason, I strongly prefer a direct variable instead of a
hook.

I've used the following patch for at least one year:
--8<---------------cut here---------------start------------->8---
--- pdebuild.~1~        2008-09-27 19:22:14.000000000 +0200
+++ pdebuild    2008-09-27 19:22:40.000000000 +0200
@@ -63,6 +63,16 @@
     ${PBUILDERROOTCMD} ${PDEBUILD_PBUILDER} --build [EMAIL 
PROTECTED]/#/--configfile } --buildresult "${BUILDRESULT}"  --debbuildopts 
"${DEBBUILDOPTS}" "$@"  ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
 fi
 
+# lintian
+if [ "${AUTO_LINTIAN}" = "yes" ]; then
+    unset LINTIAN_PARAM || true
+    if [ -n "${LINTIAN_OPTS}" ]; then
+       LINTIAN_PARAM[1]="${LINTIAN_OPTS}"
+    fi
+    
LINTIAN_PARAM[2]="${BUILDRESULT}/${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes"
+    lintian "[EMAIL PROTECTED]"
+fi
+
--8<---------------cut here---------------end--------------->8---

If there's a possibility to add this support upstream, I can rework the
patch to support devscripts options, as the oritinal submitter asked.
I, for myself, fully agree with Daniel on this point: we should not
duplicate variables, but instead use the existing ones, providing a
better integration between different tools.

Thx, bye,
Gismo / Luca

Attachment: pgpX6pgPWFeJH.pgp
Description: PGP signature

Reply via email to