diff options
author | Cyril Brulebois <kibi@debian.org> | 2009-11-19 03:33:52 +0100 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-19 11:51:54 -0500 |
commit | 725a4d769be1573cca18ced3581a55ef906235ff (patch) | |
tree | 22a919ed6d67b1671cbc69fee0802f2e2fa8fff7 | |
parent | 0eed5884e3e476a4b0c69c68faf484186fc4a9da (diff) | |
download | debhelper-725a4d769be1573cca18ced3581a55ef906235ff.tar.gz |
Fix build system auto-selection breakage.
Probably due to an overlook in 758ce0bb1f, the '-e' test on build.xml
disappeared, leading check_auto_buildable() to always return '1' for
the ant build system.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | Debian/Debhelper/Buildsystem/ant.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Buildsystem/ant.pm b/Debian/Debhelper/Buildsystem/ant.pm index 938fb446..52def4f6 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 { |