summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-10 13:03:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-09-10 13:03:39 +0000
commit57e7b6b933188705c0aa1c25db59afabef49225f (patch)
tree7e7977508ac935e47e5dedda8e92de26582ea868 /eclass
parentStable on alpha, bug #304149 (diff)
downloadhistorical-57e7b6b933188705c0aa1c25db59afabef49225f.tar.gz
historical-57e7b6b933188705c0aa1c25db59afabef49225f.tar.bz2
historical-57e7b6b933188705c0aa1c25db59afabef49225f.zip
Allow the star to be at any place of the sub_S directory.
While it only makes sense for GitHub tarballs, with Rails the star is _not_ the last character in the string because we have to enter a sub-directory.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 459fb5ce48fc..08fc12f5bc58 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.27 2010/08/30 22:08:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.28 2010/09/10 13:03:39 flameeyes Exp $
#
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -250,7 +250,7 @@ _ruby_invoke_environment() {
# Special case, for the always-lovely GitHub fetches. With this,
# we allow the star glob to just expand to whatever directory it's
# called.
- if [[ ${sub_S} = *"*" ]]; then
+ if [[ ${sub_S} = *"*"* ]]; then
pushd "${WORKDIR}"/all &>/dev/null
sub_S=$(eval ls -d ${sub_S} 2>/dev/null)
popd &>/dev/null