[SCM] Debian package checker branch, master, updated. 2.4.1-4-g4a79577
The following commit has been merged in the master branch:
commit 4a79577ae7aa8c0713dcaeededb83e4ad8e45f97
Author: Russ Allbery <rra@debian.org>
Date: Thu May 6 22:57:39 2010 -0700
Set a default PATH if PATH is completely unset
* frontend/lintian:
+ [RA] Set a PATH of /bin:/usr/bin if PATH is completely unset.
Thanks, Carsten Hey.
diff --git a/debian/changelog b/debian/changelog
index 9b13f32..e756018 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,10 @@ lintian (2.4.2) UNRELEASED; urgency=low
+ [RA] Update to current unstable and add the old xserver-xorg video
and input virtual packages.
+ * frontend/lintian:
+ + [RA] Set a PATH of /bin:/usr/bin if PATH is completely unset.
+ Thanks, Carsten Hey.
+
* lib/Lintian/Relation.pm:
+ [RA] Rather than allowing only a package name or a substvar, allow
substvars mixed into the package name. (Closes: #580494)
diff --git a/frontend/lintian b/frontend/lintian
index be461e1..42e6876 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -117,6 +117,11 @@ $ENV{'LC_ALL'} = 'C';
# reset timezone definition (also for tar)
$ENV{'TZ'} = '';
+# When run in some automated ways, Lintian may not have a PATH, but we assume
+# we can call standard utilities without their full path. If PATH is
+# completely unset, add something basic.
+$ENV{PATH} = '/bin:/usr/bin' unless $ENV{PATH};
+
# }}}
# {{{ Process Command Line
--
Debian package checker
Reply to: