]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Buildsystem/ant.pm
Fix build system auto-selection breakage.
[debhelper.git] / Debian / Debhelper / Buildsystem / ant.pm
index 938fb446216bee8b1d2b481a2ebd091cd2a7ffd4..52def4f61277aa0b67db46956586aa14ba028fd5 100644 (file)
@@ -14,7 +14,7 @@ sub DESCRIPTION {
 
 sub check_auto_buildable {
        my $this=shift;
-       return $this->get_sourcepath("build.xml") ? 1 : 0;
+       return (-e $this->get_sourcepath("build.xml")) ? 1 : 0;
 }
 
 sub new {