chiark / gitweb /
dgit: fix import-dsc missing file reference
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 1 Oct 2018 13:55:06 +0000 (14:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 1 Oct 2018 13:55:06 +0000 (14:55 +0100)
The message used to say ../ but actually nowadays we look in bpd and
next to the .dsc.  Change it to say .../.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 32b024eca090ee82f0271d5b94ac4819618409d5..5aa1197c071d716fc4166cd9370d361b9dae523c 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -6848,7 +6848,7 @@ END
                $dscfn;
        }
        $there =~ s#/+[^/]+$## or fail f_
-           "import %s requires ../%s, but it does not exist",
+           "import %s requires .../%s, but it does not exist",
            $dscfn, $f;
        $there .= "/$f";
        my $test = $there =~ m{^/} ? $there : "../$there";