summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-29 00:33:43 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-08 15:55:27 +0100
commit10080371e34afdc4fe50cdf8de0e3d52bfab4f6e (patch)
treeffcdc871c72e9fa305298b87d0725bf4d8cbfe9b /dgit
parent68935a4a1859107483111d4db9e69798c5bf2714 (diff)
New import: Slightly better message in mktree_in_ud_from_only_subdir
This is going to be processing .dsc's tarballs directly, so we need slightly better error reporting. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index b188361..39231bb 100755
--- a/dgit
+++ b/dgit
@@ -1379,7 +1379,7 @@ sub mktree_in_ud_from_only_subdir (;$) {
# changes into the subdir
my (@dirs) = <*/.>;
- die "@dirs ?" unless @dirs==1;
+ die "expected one subdir but found @dirs ?" unless @dirs==1;
$dirs[0] =~ m#^([^/]+)/\.$# or die;
my $dir = $1;
changedir $dir;