From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ou3Gd-0005hB-Ec for garchives@archives.gentoo.org; Fri, 10 Sep 2010 13:03:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 739EBE0822; Fri, 10 Sep 2010 13:03:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 53B7DE07F6 for ; Fri, 10 Sep 2010 13:03:41 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAB431B41D6 for ; Fri, 10 Sep 2010 13:03:40 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 948) id 64C1520051; Fri, 10 Sep 2010 13:03:39 +0000 (UTC) From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ruby-ng.eclass X-VCS-Directories: eclass X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: <20100910130339.64C1520051@flycatcher.gentoo.org> Date: Fri, 10 Sep 2010 13:03:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 280c3cb8-2f34-449a-a827-bd16cf7094ba X-Archives-Hash: 599c122eed4909f0be0aa4bb014aee97 flameeyes 10/09/10 13:03:39 Modified: ruby-ng.eclass Log: Allow the star to be at any place of the sub_S directory. =20 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. Revision Changes Path 1.28 eclass/ruby-ng.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.ecl= ass?rev=3D1.28&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.ecl= ass?rev=3D1.28&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.ecl= ass?r1=3D1.27&r2=3D1.28 Index: ruby-ng.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- ruby-ng.eclass 30 Aug 2010 22:08:24 -0000 1.27 +++ ruby-ng.eclass 10 Sep 2010 13:03:39 -0000 1.28 @@ -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 @@ # 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} =3D *"*" ]]; then + if [[ ${sub_S} =3D *"*"* ]]; then pushd "${WORKDIR}"/all &>/dev/null sub_S=3D$(eval ls -d ${sub_S} 2>/dev/null) popd &>/dev/null