/[gentoo-x86]/eclass/ruby-ng.eclass
Gentoo

Diff of /eclass/ruby-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.17 2010/05/22 12:31:03 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.18 2010/05/22 12:45:03 flameeyes Exp $
4# 4#
5# @ECLASS: ruby-ng.eclass 5# @ECLASS: ruby-ng.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ruby herd <ruby@gentoo.org> 7# Ruby herd <ruby@gentoo.org>
8# 8#
111 111
112 echo "[${res%,}]" 112 echo "[${res%,}]"
113} 113}
114 114
115_ruby_atoms_samelib_generic() { 115_ruby_atoms_samelib_generic() {
116 eshopts_push -o noglob
116 echo "RUBYTARGET? (" 117 echo "RUBYTARGET? ("
117 for token in $*; do 118 for token in $*; do
118 case "$token" in 119 case "$token" in
119 "||" | "(" | ")" | *"?") 120 "||" | "(" | ")" | *"?")
120 echo "${token}" ;; 121 echo "${token}" ;;
123 # dependencies 124 # dependencies
124 echo "${token}[RUBYTARGET]" ;; 125 echo "${token}[RUBYTARGET]" ;;
125 esac 126 esac
126 done 127 done
127 echo ")" 128 echo ")"
129 eshopts_pop
128} 130}
129 131
130_ruby_atoms_samelib() { 132_ruby_atoms_samelib() {
131 local atoms=$(_ruby_atoms_samelib_generic "$*") 133 local atoms=$(_ruby_atoms_samelib_generic "$*")
132 134

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20