[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/08: pod-spelling.t: Do not assume LINTIAN_ROOT is defined



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit a0b467b8b1ffaddd5a056eb051f8813c3fa66d9f
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Aug 25 17:57:57 2013 +0200

    pod-spelling.t: Do not assume LINTIAN_ROOT is defined
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 t/scripts/pod-spelling.t |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/scripts/pod-spelling.t b/t/scripts/pod-spelling.t
index 5859255..d6b3e31 100755
--- a/t/scripts/pod-spelling.t
+++ b/t/scripts/pod-spelling.t
@@ -24,7 +24,7 @@ my @GOOD_WORDS = grep {$_ ne ''} map {
 
 add_stopwords(@GOOD_WORDS);
 
-chdir($ENV{'LINTIAN_ROOT'})
+chdir($ENV{'LINTIAN_ROOT'}//'.')
   or die("fatal error: could not chdir to $ENV{LINTIAN_ROOT}: $!");
 
 my @CHECKS = glob('checks/*[!.]*[!c]');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: