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