chiark / gitweb /
dgit: sbuild: Fix typo which broke dgit sbuild
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Jul 2015 22:17:23 +0000 (23:17 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Jul 2015 22:17:23 +0000 (23:17 +0100)
dgit

diff --git a/dgit b/dgit
index 49c4f36..e8603ba 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2753,7 +2753,7 @@ sub cmd_sbuild {
     changedir "..";
     my $pat = "${package}_".(stripepoch $version)."_*.changes";
     if (act_local()) {
-       stat_exist $dscfn or fail "$dscfn (in parent directory): $!";
+       stat_exists $dscfn or fail "$dscfn (in parent directory): $!";
        stat_exists $sourcechanges
            or fail "$sourcechanges (in parent directory): $!";
        foreach my $cf (glob $pat) {