X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debian%2FDebhelper%2FBuildsystem%2Fant.pm;h=52def4f61277aa0b67db46956586aa14ba028fd5;hb=725a4d769be1573cca18ced3581a55ef906235ff;hp=938fb446216bee8b1d2b481a2ebd091cd2a7ffd4;hpb=0eed5884e3e476a4b0c69c68faf484186fc4a9da;p=debhelper.git diff --git a/Debian/Debhelper/Buildsystem/ant.pm b/Debian/Debhelper/Buildsystem/ant.pm index 938fb44..52def4f 100644 --- a/Debian/Debhelper/Buildsystem/ant.pm +++ b/Debian/Debhelper/Buildsystem/ant.pm @@ -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 {