diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-01-30 07:50:44 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-01-30 07:50:44 +0000 |
commit | e1a333552625cb958d2886edc14ef55633ff5a82 (patch) | |
tree | 093744efece695450999152bd1c5829f3cd72321 | |
parent | Fixed bulk makesym mishandling and corrected typo. Removed ri from symlink ta... (diff) | |
download | historical-e1a333552625cb958d2886edc14ef55633ff5a82.tar.gz historical-e1a333552625cb958d2886edc14ef55633ff5a82.tar.bz2 historical-e1a333552625cb958d2886edc14ef55633ff5a82.zip |
Fixed bulk makesym mishandling and corrected typo. Removed ri from symlink target. Added all the arches listed in dev-lang/ruby.
-rw-r--r-- | dev-ruby/ruby-config/Manifest | 8 | ||||
-rw-r--r-- | dev-ruby/ruby-config/files/digest-ruby-config-0.2 (renamed from dev-ruby/ruby-config/files/digest-ruby-config-0.1) | 0 | ||||
-rw-r--r-- | dev-ruby/ruby-config/files/ruby-config.sh | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-config/ruby-config-0.2.ebuild (renamed from dev-ruby/ruby-config/ruby-config-0.1.ebuild) | 4 |
4 files changed, 11 insertions, 12 deletions
diff --git a/dev-ruby/ruby-config/Manifest b/dev-ruby/ruby-config/Manifest index 111e2ab3f408..81377efa6643 100644 --- a/dev-ruby/ruby-config/Manifest +++ b/dev-ruby/ruby-config/Manifest @@ -1,7 +1,5 @@ -MD5 c0dc43ce1cdc886398474eb7dee23d86 ruby-config-0.1.ebuild 554 MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 -MD5 6971b94ca2ef7c9e879f943740460674 ChangeLog 441 -MD5 08749e742d90ee5f21298eb7fffc93f3 ruby-config-0.2.ebuild 589 -MD5 61cb790cceb6c2170dc29ff6f7f887ed files/ruby-config.sh 2704 -MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ruby-config-0.1 0 +MD5 014ddfbf23e3f703cac6ec4461eafb6b ChangeLog 728 +MD5 c74aac849b4f00d1523a9768bb326ad9 ruby-config-0.2.ebuild 589 +MD5 8137ead9e83f2570ea0b5ebf4cd2224c files/ruby-config.sh 2732 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-ruby-config-0.2 0 diff --git a/dev-ruby/ruby-config/files/digest-ruby-config-0.1 b/dev-ruby/ruby-config/files/digest-ruby-config-0.2 index e69de29bb2d1..e69de29bb2d1 100644 --- a/dev-ruby/ruby-config/files/digest-ruby-config-0.1 +++ b/dev-ruby/ruby-config/files/digest-ruby-config-0.2 diff --git a/dev-ruby/ruby-config/files/ruby-config.sh b/dev-ruby/ruby-config/files/ruby-config.sh index e6b626430929..a536221b435c 100644 --- a/dev-ruby/ruby-config/files/ruby-config.sh +++ b/dev-ruby/ruby-config/files/ruby-config.sh @@ -2,7 +2,7 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-config/files/ruby-config.sh,v 1.1 2004/01/29 18:02:15 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-config/files/ruby-config.sh,v 1.2 2004/01/30 07:50:34 usata Exp $ # Author: Mamoru KOMACHI <usata@gentoo.org> @@ -59,14 +59,15 @@ switch_profile() { eerror "You need root privilege to switch profile." exit 1 fi - if [ -x /usr/bin/"$1" -a "$1" != "ruby" ] ; then + if [ "`expr $1 : ruby`" != 0 -a "$1" != "ruby" ] ; then local suf=${1/ruby/} - for i in ruby irb erb testrb rdoc ri ; do + # don't make symlink to ri + for i in ruby irb erb testrb rdoc ; do alternatives_makesym \ - /usr/bin/$i /usr/bin/$i{$suf,18,16,19} + /usr/bin/$i /usr/bin/${i}{$suf,18,16,19} done alternatives_makesym \ - /usr/lib/libruby.so /usr/lib/libruby{$suf,18.16,19}.so + /usr/lib/libruby.so /usr/lib/libruby{$suf,18,16,19}.so alternatives_makesym \ /usr/share/man/man1/ruby.1.gz \ /usr/share/man/man1/ruby{$suf,18,16,19}.1.gz diff --git a/dev-ruby/ruby-config/ruby-config-0.1.ebuild b/dev-ruby/ruby-config/ruby-config-0.2.ebuild index 9e48edef45d1..e4c33a895b3f 100644 --- a/dev-ruby/ruby-config/ruby-config-0.1.ebuild +++ b/dev-ruby/ruby-config/ruby-config-0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-config/ruby-config-0.1.ebuild,v 1.1 2004/01/29 18:02:15 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-config/ruby-config-0.2.ebuild,v 1.1 2004/01/30 07:50:34 usata Exp $ DESCRIPTION="Utility to switch the ruby interpreter beging used" HOMEPAGE="http://www.gentoo.org/" @@ -8,7 +8,7 @@ SRC_URI="" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~alpha" +KEYWORDS="~alpha ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" IUSE="" |