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 1Q3wrV-0004ZX-MF for garchives@archives.gentoo.org; Sun, 27 Mar 2011 20:47:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCF001C123; Sun, 27 Mar 2011 20:46:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 84EA21C123 for ; Sun, 27 Mar 2011 20:46:54 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D817A1BC017 for ; Sun, 27 Mar 2011 20:46:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4ADAA8006A for ; Sun, 27 Mar 2011 20:46:53 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <6e1239795fcc18710398380bd32ec78aa16cd8a0.williamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: net/ X-VCS-Repository: proj/openrc X-VCS-Files: net/ethtool.sh X-VCS-Directories: net/ X-VCS-Committer: williamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6e1239795fcc18710398380bd32ec78aa16cd8a0 Date: Sun, 27 Mar 2011 20:46:53 +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: X-Archives-Hash: 53a32b87a72ac2efac102ad18b99a215 commit: 6e1239795fcc18710398380bd32ec78aa16cd8a0 Author: Marc Joliet gmx de> AuthorDate: Sun Mar 27 20:45:45 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Mar 27 20:45:45 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D6e123979 remove bashism from ethtool module X-Gentoo-Bug: 360367 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=3D360367 --- net/ethtool.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ethtool.sh b/net/ethtool.sh index 64b44a6..8ea1cde 100644 --- a/net/ethtool.sh +++ b/net/ethtool.sh @@ -25,7 +25,7 @@ ethtool_pre_start() { eindent for opt in ${order} ; do local args - eval args=3D\$ethtool_${opt//-/_}_${IFVAR} + eval args=3D\$ethtool_$(echo $opt | tr - _)_${IFVAR} =20 # Skip everything if no arguments [ -z "${args}" ] && continue