[SCM] Debian packaging of SVN-Class CPAN distribution branch, master, updated. 4145aad39f34caa431bae080f4cb716ce9d9528d
Dominique Dumont
dod at debian.org
Tue Jan 31 12:54:36 UTC 2012
The following commit has been merged in the master branch:
commit 9a8728d3ab4fe105e2d07ead2cfc046ac95925ed
Author: Dominique Dumont <dod at debian.org>
Date: Tue Jan 31 13:50:58 2012 +0100
avoid warning in tests
diff --git a/debian/patches/avoid-harmless-tmp-warning b/debian/patches/avoid-harmless-tmp-warning
new file mode 100644
index 0000000..c022f13
--- /dev/null
+++ b/debian/patches/avoid-harmless-tmp-warning
@@ -0,0 +1,11 @@
+--- a/t/01-svn.t
++++ b/t/01-svn.t
+@@ -13,7 +13,7 @@
+ # create a repos
+ #
+ # Mac OSX 10.5 workaround
+-if ($ENV{TMPDIR} =~ m/\w+\+/) {
++if (defined $ENV{TMPDIR} and $ENV{TMPDIR} =~ m/\w+\+/) {
+ $ENV{TMPDIR} = '/tmp';
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6911966
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+avoid-harmless-tmp-warning
diff --git a/t/01-svn.t b/t/01-svn.t
index 432335f..69be3de 100644
--- a/t/01-svn.t
+++ b/t/01-svn.t
@@ -13,7 +13,7 @@ my $debug = $ENV{PERL_DEBUG} || 0; # turn on to help debug CPANTS
# create a repos
#
# Mac OSX 10.5 workaround
-if ($ENV{TMPDIR} =~ m/\w+\+/) {
+if (defined $ENV{TMPDIR} and $ENV{TMPDIR} =~ m/\w+\+/) {
$ENV{TMPDIR} = '/tmp';
}
--
Debian packaging of SVN-Class CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list