diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-29 00:33:43 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-08 15:55:27 +0100 |
commit | 10080371e34afdc4fe50cdf8de0e3d52bfab4f6e (patch) | |
tree | ffcdc871c72e9fa305298b87d0725bf4d8cbfe9b | |
parent | 68935a4a1859107483111d4db9e69798c5bf2714 (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>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |