/[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.34 Revision 1.35
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.34 2011/07/16 09:50:05 graaff Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.35 2011/07/19 05:48:09 graaff 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#
285 285
286 # Special case, for the always-lovely GitHub fetches. With this, 286 # Special case, for the always-lovely GitHub fetches. With this,
287 # we allow the star glob to just expand to whatever directory it's 287 # we allow the star glob to just expand to whatever directory it's
288 # called. 288 # called.
289 if [[ ${sub_S} = *"*"* ]]; then 289 if [[ ${sub_S} = *"*"* ]]; then
290 case ${EAPI} in
291 2|3)
292 #The old method of setting S depends on undefined package
293 # manager behaviour, so encourage upgrading to EAPI=4.
294 eqawarn "Using * expansion of S is deprecated. Use EAPI and RUBY_S instead."
295 ;;
296 esac
290 pushd "${WORKDIR}"/all &>/dev/null 297 pushd "${WORKDIR}"/all &>/dev/null
291 sub_S=$(eval ls -d ${sub_S} 2>/dev/null) 298 sub_S=$(eval ls -d ${sub_S} 2>/dev/null)
292 popd &>/dev/null 299 popd &>/dev/null
293 fi 300 fi
294 301

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20