Ooops, last change removed a cd line by accident.
authorMike Frysinger <vapier@gentoo.org>
Sat, 27 Aug 2005 05:34:12 +0000 (05:34 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 27 Aug 2005 05:34:12 +0000 (05:34 +0000)
Package-Manager: portage-2.0.51.22-r2

sys-devel/binutils-config/ChangeLog
sys-devel/binutils-config/Manifest
sys-devel/binutils-config/binutils-config-1.8-r5.ebuild [moved from sys-devel/binutils-config/binutils-config-1.8-r4.ebuild with 88% similarity]
sys-devel/binutils-config/files/binutils-config-1.8
sys-devel/binutils-config/files/digest-binutils-config-1.8-r5 [moved from sys-devel/binutils-config/files/digest-binutils-config-1.8-r4 with 100% similarity]

index 54780a6170b6d9aa3d730692380c9767a3603a89..6bb9c88f7de60c7eec3992d906dd3db1b00fbd62 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-devel/binutils-config
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/ChangeLog,v 1.16 2005/06/13 04:51:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/ChangeLog,v 1.17 2005/08/27 05:34:12 vapier Exp $
+
+*binutils-config-1.8-r5 (27 Aug 2005)
+
+  27 Aug 2005; Mike Frysinger <vapier@gentoo.org> files/binutils-config-1.8,
+  -binutils-config-1.8-r4.ebuild, +binutils-config-1.8-r5.ebuild:
+  Ooops, last change removed a cd line by accident.
 
 *binutils-config-1.8-r3 (13 Jun 2005)
 
index e9d815c2a24f55e06d6dc6b09c6ee9cc4d5f9ebd..9396df6a4eb3520f0f01b3c30e0c20a91d353795 100644 (file)
@@ -1,16 +1,16 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 11d0f67b5304cc88f6e66d2aa5441f5b binutils-config-1.8-r4.ebuild 577
 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-MD5 efaca3f93c7f97a98402711502625ac1 ChangeLog 2960
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.8-r4 0
+MD5 fe25e68c56d33822a393dad2099a6425 binutils-config-1.8-r5.ebuild 577
+MD5 dd789e541f40e4f34b7ea83258e6ec8a ChangeLog 3195
 MD5 953efbc2a688428dfb75ecfa3c2d3d43 files/binutils-config.8 2989
-MD5 c194d3b07b95cdde77e7b02c98509b98 files/binutils-config-1.8 9574
+MD5 0094469d5d87417a29410741a4d1c64a files/binutils-config-1.8 9600
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.8-r5 0
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDDQCfgIKl8Uu19MoRArlwAKCAdxdli2hkAEQk89vrWL7ng4bZmwCeMYN2
-MM4rvLebO+53xjUiU5OAf8o=
-=gpa9
+iD8DBQFDD/tlgIKl8Uu19MoRAvSiAJ9HC87MAo5pGmmoZrwpehvbws4w3gCeNL1u
+428Vd4Op2/47j+0/v4NbPwI=
+=sQkl
 -----END PGP SIGNATURE-----
similarity index 88%
rename from sys-devel/binutils-config/binutils-config-1.8-r4.ebuild
rename to sys-devel/binutils-config/binutils-config-1.8-r5.ebuild
index 3c04e26535a9f5c29f658c92770d726767b53e9a..77b49c4fb2ea0d9f2ffbb23f2e4056b0a2e72041 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/binutils-config-1.8-r4.ebuild,v 1.1 2005/06/24 21:55:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/binutils-config-1.8-r5.ebuild,v 1.1 2005/08/27 05:34:12 vapier Exp $
 
 DESCRIPTION="Utility to change the binutils version being used"
 HOMEPAGE="http://www.gentoo.org/"
index a7337066ce7c619c3ca3b14fcf9f93a5a930ab7f..8b10117a5941088e3131415e26663c74c5817951 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.5 2005/08/24 23:19:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.6 2005/08/27 05:34:12 vapier Exp $
 
 # Format of /etc/env.d/binutils/:
 #  config-TARGET:      CURRENT=version for TARGET
@@ -122,6 +122,7 @@ switch_profile() {
        #
        INCPATH=${LIBPATH}/include
        if [[ -d ${ROOT}/${INCPATH} ]] ; then
+               cd "${ROOT}/${INCPATH}" || exit 1
                if [[ ${TARGET} == ${HOST} ]] ; then
                        dstinc=${ROOT}/usr/include
                else
@@ -243,7 +244,7 @@ list_profiles() {
                                [[ ${VER} == ${CURRENT} ]] && x="${x} ${GOOD}*${NORMAL}"
                        fi
                        echo " [${i}] ${x}"
-                       i=$((i + 1))
+                       ((++i))
                fi
        done
 }
@@ -289,7 +290,7 @@ while [[ $# -gt 0 ]] ; do
                        exit 0
                        ;;
                -v|--version)
-                       cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.5 2005/08/24 23:19:04 vapier Exp $"
+                       cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.6 2005/08/27 05:34:12 vapier Exp $"
                        cvsver=${cvsver##*binutils-config-}
                        echo "binutils-config-${cvsver%%,v *}"
                        exit 0
@@ -328,7 +329,7 @@ while [[ $# -gt 0 ]] ; do
                                                NEED_ACTION="no"
                                                break
                                        fi
-                                       i=$((i + 1))
+                                       ((++i))
                                done
                        else
                                # User gave us a full HOST-ver