]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_testdir
r421: use strict
[debhelper.git] / dh_testdir
index 394fa35904d75c7eb356a5ef15e13fa2e63afa99..3ba39e24bdfbfeee5acde2d0929c7b395bc2fa27 100755 (executable)
@@ -4,10 +4,11 @@
 # Tests for the existance of debian/control, and for the existance
 # of any other files you specify on the command line.
 
+use strict;
 use Debian::Debhelper::Dh_Lib;
 init();
 
-foreach $file ('debian/control', @ARGV) {
+foreach my $file ('debian/control', @ARGV) {
        if (! -e $file) {
                error("\"$file\" not found. Are you sure you are in the correct directory?");
        }