]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_testdir
r410: * Added the ability to make debhelper read a different file than
[debhelper.git] / dh_testdir
index 8bd960d3c412d50f46313f5475df8bac9e46b06b..0bf917ae4c86fb87a33fa811c271176a9b7461d5 100755 (executable)
@@ -7,7 +7,7 @@
 use Debian::Debhelper::Dh_Lib;
 init();
 
-foreach $file ('debian/control',@ARGV) {
+foreach $file (Debian::Debhelper::Dh_Lib::getcontrol(),@ARGV) {
        if (! -e $file) {
                error("\"$file\" not found. Are you sure you are in the correct directory?");
        }