public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Raty (betelgeuse)" <betelgeuse@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass
Date: Wed, 24 Mar 2010 12:11:05 +0000	[thread overview]
Message-ID: <E1NuPQP-0001lI-LK@stork.gentoo.org> (raw)

betelgeuse    10/03/24 12:11:05

  Modified:             java-utils-2.eclass
  Log:
  Use sort -u instead of uniq so all duplicates are removed.

Revision  Changes    Path
1.133                eclass/java-utils-2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.133&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.133&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?r1=1.132&r2=1.133

Index: java-utils-2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- java-utils-2.eclass	12 Feb 2010 23:51:44 -0000	1.132
+++ java-utils-2.eclass	24 Mar 2010 12:11:05 -0000	1.133
@@ -6,7 +6,7 @@
 #
 # Licensed under the GNU General Public License, v2
 #
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.132 2010/02/12 23:51:44 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.133 2010/03/24 12:11:05 betelgeuse Exp $
 
 # -----------------------------------------------------------------------------
 # @eclass-begin
@@ -2322,12 +2322,12 @@
 			[[ -n "${JAVA_PKG_LIBRARY}" ]] && echo "LIBRARY_PATH=\"${JAVA_PKG_LIBRARY}\""
 			[[ -n "${JAVA_PROVIDE}" ]] && echo "PROVIDES=\"${JAVA_PROVIDE}\""
 			[[ -f "${JAVA_PKG_DEPEND_FILE}" ]] \
-				&& echo "DEPEND=\"$(cat "${JAVA_PKG_DEPEND_FILE}" | uniq | tr '\n' ':')\""
+				&& echo "DEPEND=\"$(sort -u "${JAVA_PKG_DEPEND_FILE}" | tr '\n' ':')\""
 			[[ -f "${JAVA_PKG_OPTIONAL_DEPEND_FILE}" ]] \
-				&& echo "OPTIONAL_DEPEND=\"$(cat "${JAVA_PKG_OPTIONAL_DEPEND_FILE}" | uniq | tr '\n' ':')\""
+				&& echo "OPTIONAL_DEPEND=\"$(sort -u "${JAVA_PKG_OPTIONAL_DEPEND_FILE}" | tr '\n' ':')\""
 			echo "VM=\"$(echo ${RDEPEND} ${DEPEND} | sed -e 's/ /\n/g' | sed -n -e '/virtual\/\(jre\|jdk\)/ { p;q }')\"" # TODO cleanup !
 			[[ -f "${JAVA_PKG_BUILD_DEPEND_FILE}" ]] \
-				&& echo "BUILD_DEPEND=\"$(cat "${JAVA_PKG_BUILD_DEPEND_FILE}" | uniq | tr '\n' ':')\""
+				&& echo "BUILD_DEPEND=\"$(sort -u "${JAVA_PKG_BUILD_DEPEND_FILE}" | tr '\n' ':')\""
 		) > "${JAVA_PKG_ENV}"
 
 		# register target/source






             reply	other threads:[~2010-03-24 12:11 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 12:11 Petteri Raty (betelgeuse) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-29 14:05 [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass Vlastimil Babka (caster)
2011-10-29 13:17 Vlastimil Babka (caster)
2011-10-02  8:10 Serkan Kaba (serkan)
2011-10-02  7:38 Serkan Kaba (serkan)
2011-09-10 14:32 Serkan Kaba (serkan)
2011-04-07 18:05 Serkan Kaba (serkan)
2011-03-26  0:43 Serkan Kaba (serkan)
2011-03-23 19:32 Serkan Kaba (serkan)
2011-03-15 19:54 Serkan Kaba (serkan)
2011-03-15 19:53 Serkan Kaba (serkan)
2010-04-28 19:40 Vlastimil Babka (caster)
2010-04-01 22:29 Vlastimil Babka (caster)
2010-01-17 12:53 Petteri Raty (betelgeuse)
2009-06-07  8:22 Alistair Bush (ali_bush)
2009-06-02  7:02 Alistair Bush (ali_bush)
2009-05-19 21:23 Vlastimil Babka (caster)
2009-03-31 19:19 Petteri Raty (betelgeuse)
2009-03-27 20:58 Petteri Raty (betelgeuse)
2009-03-27 19:40 Petteri Raty (betelgeuse)
2009-03-27 18:52 Petteri Raty (betelgeuse)
2008-12-29  0:16 Vlastimil Babka (caster)
2008-12-20 19:25 Petteri Raty (betelgeuse)
2008-11-09  0:12 Vlastimil Babka (caster)
2008-10-10 20:11 Petteri Raty (betelgeuse)
2008-07-22 21:27 Petteri Raty (betelgeuse)
2008-07-19  9:24 Torsten Veller (tove)
2008-07-09 21:16 Petteri Raty (betelgeuse)
2008-05-03 21:28 Petteri Raty (betelgeuse)
2008-05-03 21:28 Petteri Raty (betelgeuse)
2008-03-26 23:00 Alistair Bush (ali_bush)
2008-03-03 17:55 Petteri Raty (betelgeuse)
2008-01-12 15:04 Vlastimil Babka (caster)
2008-01-12 15:03 Vlastimil Babka (caster)
2007-11-28  2:03 Petteri Raty (betelgeuse)
2007-11-28  1:54 Petteri Raty (betelgeuse)
2007-11-26 21:00 Petteri Raty (betelgeuse)
2007-11-26 20:38 Petteri Raty (betelgeuse)
2007-11-25  7:51 Vlastimil Babka (caster)
2007-09-27 19:47 Petteri Raty (betelgeuse)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1NuPQP-0001lI-LK@stork.gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox