Bug#696853: dpkg-checkbuilddeps -C somedir, please?

2012-12-28 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: dpkg-dev
Version: 1.16.9
Severity: wishlist

Would it be possible to support a command line argument
-C somedir to run dpkg-checkbuilddeps in another
directory without pushd and popd and a temporary variable
to safe the exit value?

This would be very similar to make -C somedir.

Maybe such an option would be helpful for other dpkg
tools as well.


Many thanx in advance

Harri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDdYE8ACgkQUTlbRTxpHjdJagCfbxuiBgi62idzUylaeg8+uP8E
lT4An1FQP/vETZrtGKrY4Yd8R+468S5S
=epAL
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696853: dpkg-checkbuilddeps -C somedir, please?

2012-12-28 Thread Raphael Hertzog
Hi,

On Fri, 28 Dec 2012, Harald Dunkel wrote:
 Would it be possible to support a command line argument
 -C somedir to run dpkg-checkbuilddeps in another
 directory without pushd and popd and a temporary variable
 to safe the exit value?
 
 This would be very similar to make -C somedir.

dpkg-checkbuilddeps accepts the path to the control file that it should
use.

So dpkg-checkbuilddeps -C somedir is actually the same as
dpkg-checkbuilddeps somedir/debian/control and there's no need
to introduce a new option.

Let me know if this matches your need. If yes, I shall close this bug.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


--
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#696853: dpkg-checkbuilddeps -C somedir, please?

2012-12-28 Thread Harald Dunkel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/28/12 11:11, Raphael Hertzog wrote:
 Hi,
 
 On Fri, 28 Dec 2012, Harald Dunkel wrote:
 Would it be possible to support a command line argument -C somedir to run 
 dpkg-checkbuilddeps in another directory without pushd and popd and a 
 temporary variable to safe the exit value?
 
 This would be very similar to make -C somedir.
 
 dpkg-checkbuilddeps accepts the path to the control file that it should use.
 
 So dpkg-checkbuilddeps -C somedir is actually the same as 
 dpkg-checkbuilddeps somedir/debian/control and there's no need to introduce 
 a new option.
 
 Let me know if this matches your need. If yes, I shall close this bug.
 

Thats OK.

( cd /somedir  dpkg-checkbuilddeps ) is fine, too. I wasn't
thinking.


Many thanx and best wishes for the new year
Harri

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDduncACgkQUTlbRTxpHjfZcQCeKNjTgnvQwiIpWo5lOn9HujBE
y0kAnRdSUhuaif0kWDmqABOXMDlYlcwl
=8VbA
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org