]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - scripts/headerdep.pl
deb-pkg: Fix building outside of source tree (O=...).
[mv-sheeva.git] / scripts / headerdep.pl
index 97399da89ef2ae3779a088d34515e6c05d10ab40..8dd019bc5a7361631c71dc1d5e33095b6f42b6a1 100755 (executable)
@@ -19,7 +19,7 @@ my $opt_graph;
        version => \&version,
 
        all     => \$opt_all,
-       I       => \@opt_include,
+       "I=s"   => \@opt_include,
        graph   => \$opt_graph,
 );
 
@@ -80,8 +80,7 @@ sub search {
                my $path = "$i/$filename";
                return $path if -f $path;
        }
-
-       return undef;
+       return;
 }
 
 sub parse_all {