-----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