summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-06-24 21:38:37 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-06-24 21:38:37 +0000
commitcc80b45f3612b600e1d3b683aa8a2177916a18e9 (patch)
treec2c33aa55c6405e4d133f505f192c8ddc329c163 /dev-java/java-config
parentversion bump - cleaned up old versions (diff)
downloadhistorical-cc80b45f3612b600e1d3b683aa8a2177916a18e9.tar.gz
historical-cc80b45f3612b600e1d3b683aa8a2177916a18e9.tar.bz2
historical-cc80b45f3612b600e1d3b683aa8a2177916a18e9.zip
Fixes #3779
Diffstat (limited to 'dev-java/java-config')
-rw-r--r--dev-java/java-config/files/java-config8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-java/java-config/files/java-config b/dev-java/java-config/files/java-config
index 76119613a5bc..14a1eb691382 100644
--- a/dev-java/java-config/files/java-config
+++ b/dev-java/java-config/files/java-config
@@ -4,7 +4,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Tools Team <tools@gentoo.org>
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/java-config,v 1.11 2002/06/03 21:40:39 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/files/java-config,v 1.12 2002/06/24 21:38:37 karltk Exp $
version=0.2.0
all_params="$*"
@@ -269,12 +269,14 @@ while test $# -gt 0; do
;;
--list-available-packages)
# Old env var file
- for i in `ls /usr/share/*/classpath.env` ; do
+ for i in /usr/share/*/classpath.env ; do
+ if [ ! -f $i ] ; then continue ; fi
dn=`dirname $i`
echo "[`basename $dn`] No description ($i)"
done
# New env var file
- for i in `ls /usr/share/*/package.env` ; do
+ for i in /usr/share/*/package.env ; do
+ if [ ! -f $i ] ; then continue ; fi
dn=`dirname $i`
id=`basename $dn`
desc=`grep DESC $i | sed "s/DESCRIPTION=//"`