/[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.27 Revision 1.29
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.27 2010/08/30 22:08:24 flameeyes Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.29 2010/11/07 22:44:35 fauli 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#
248 sub_S=${S#${WORKDIR}/} 248 sub_S=${S#${WORKDIR}/}
249 249
250 # Special case, for the always-lovely GitHub fetches. With this, 250 # Special case, for the always-lovely GitHub fetches. With this,
251 # we allow the star glob to just expand to whatever directory it's 251 # we allow the star glob to just expand to whatever directory it's
252 # called. 252 # called.
253 if [[ ${sub_S} = *"*" ]]; then 253 if [[ ${sub_S} = *"*"* ]]; then
254 pushd "${WORKDIR}"/all &>/dev/null 254 pushd "${WORKDIR}"/all &>/dev/null
255 sub_S=$(eval ls -d ${sub_S} 2>/dev/null) 255 sub_S=$(eval ls -d ${sub_S} 2>/dev/null)
256 popd &>/dev/null 256 popd &>/dev/null
257 fi 257 fi
258 258
340} 340}
341 341
342_ruby_source_copy() { 342_ruby_source_copy() {
343 # Until we actually find a reason not to, we use hardlinks, this 343 # Until we actually find a reason not to, we use hardlinks, this
344 # should reduce the amount of disk space that is wasted by this. 344 # should reduce the amount of disk space that is wasted by this.
345 cp -prl all ${_ruby_implementation} \ 345 cp -pr all ${_ruby_implementation} \
346 || die "Unable to copy ${_ruby_implementation} environment" 346 || die "Unable to copy ${_ruby_implementation} environment"
347} 347}
348 348
349# @FUNCTION: ruby-ng_src_prepare 349# @FUNCTION: ruby-ng_src_prepare
350# @DESCRIPTION: 350# @DESCRIPTION:

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20