summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-05-02 15:22:19 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-05-02 15:22:19 +0000
commit1ce555674814795976bd06b1e9df889ff00f945c (patch)
tree136a533bd72f29c60aeaf98bf94396628c5c70fd /app-admin/eselect-gnat
parentAdded a more understandable error message for unpatched vdr. (diff)
downloadgentoo-2-1ce555674814795976bd06b1e9df889ff00f945c.tar.gz
gentoo-2-1ce555674814795976bd06b1e9df889ff00f945c.tar.bz2
gentoo-2-1ce555674814795976bd06b1e9df889ff00f945c.zip
a small fix to the do_show method
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'app-admin/eselect-gnat')
-rw-r--r--app-admin/eselect-gnat/ChangeLog5
-rw-r--r--app-admin/eselect-gnat/files/gnat.eselect-0.76
2 files changed, 7 insertions, 4 deletions
diff --git a/app-admin/eselect-gnat/ChangeLog b/app-admin/eselect-gnat/ChangeLog
index c7a83c2a693c..a64d766b89d8 100644
--- a/app-admin/eselect-gnat/ChangeLog
+++ b/app-admin/eselect-gnat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/eselect-gnat
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-gnat/ChangeLog,v 1.3 2006/05/02 10:18:57 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-gnat/ChangeLog,v 1.4 2006/05/02 15:22:19 george Exp $
+
+ 02 May 2006; George Shapovalov <george@gentoo.org> files/gnat.eselect-0.7:
+ small fix to the do_show method (so that it actually shows libs)
*eselect-gnat-0.7 (02 May 2006)
diff --git a/app-admin/eselect-gnat/files/gnat.eselect-0.7 b/app-admin/eselect-gnat/files/gnat.eselect-0.7
index 1172b8a8994e..6ab12b723dfc 100644
--- a/app-admin/eselect-gnat/files/gnat.eselect-0.7
+++ b/app-admin/eselect-gnat/files/gnat.eselect-0.7
@@ -1,10 +1,10 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: gnat.eselect-0.7,v 1.1 2006/05/02 10:18:57 george Exp $
+# $Id: gnat.eselect-0.7,v 1.2 2006/05/02 15:22:19 george Exp $
DESCRIPTION="Manage the talled gnat compilers"
MAINTAINER="ada@gentoo.org"
-SVN_DATE='$Date: 2006/05/02 10:18:57 $'
+SVN_DATE='$Date: 2006/05/02 15:22:19 $'
VERSION=$(svn_date_to_version "${SVN_DATE}" )
SPECSDIR="/usr/share/gnat/eselect"
@@ -176,7 +176,7 @@ do_show() {
active=$(get_current_gnat)
if [ ! -z ${active} ] ; then # not sure why [ -n ] does not do the same
write_kv_list_entry "$active" ""
- libs=( $(find_libs4profile) )
+ libs=( $(find_libs4profile ${active}) )
write_list_start "Active libs:"
write_numbered_list "${libs[@]}"
else