public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] eselect r808 - in trunk: . modules
@ 2011-03-10 18:19 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2011-03-10 18:19 UTC (permalink / raw
  To: gentoo-commits

Author: ulm
Date: 2011-03-10 18:19:54 +0000 (Thu, 10 Mar 2011)
New Revision: 808

Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/modules/news.eselect
Log:
Don't precede news item dir with , fixes bug 358185.

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2011-03-10 18:08:56 UTC (rev 807)
+++ trunk/ChangeLog	2011-03-10 18:19:54 UTC (rev 808)
@@ -1,5 +1,8 @@
 2011-03-10  Ulrich Mueller  <ulm@gentoo.org>
 
+	* modules/news.eselect (read_item): Don't precede news item dir
+	with ${ROOT}, fixes bug 358185.
+
 	* doc/developer-guide.txt: Contributed modules should have a
 	standard header. Eselect is distributed under GPL v2 or later.
 

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2011-03-10 18:08:56 UTC (rev 807)
+++ trunk/NEWS	2011-03-10 18:19:54 UTC (rev 808)
@@ -1,6 +1,9 @@
 This file contains a summary of changes in released versions.  Please read the
 ChangeLog file for a more detailed listing of changes/bug fixes.
 
+    Bug fixes:
+    - Fixed bug #358185: ROOT handling in news module.
+
 1.2.14:
     New features:
     - Module locale.eselect for the LANG environment variable (bug #351363).

Modified: trunk/modules/news.eselect
===================================================================
--- trunk/modules/news.eselect	2011-03-10 18:08:56 UTC (rev 807)
+++ trunk/modules/news.eselect	2011-03-10 18:19:54 UTC (rev 808)
@@ -61,7 +61,7 @@
 read_item() {
 	local dir=$1 item=$2 what=$3 file lang command=""
 	for lang in $(accepted_languages); do
-		file="${ROOT}${dir}/${item}/${item}.${lang}.txt"
+		file="${dir}/${item}/${item}.${lang}.txt"
 		[[ -f "${file}" ]] || continue
 		case "${what}" in
 			header) command="/^$/Q" ;;




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-10 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 18:19 [gentoo-commits] eselect r808 - in trunk: . modules Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox