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 <gentoo-commits+bounces-473819-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Se8WR-00034V-8r for garchives@archives.gentoo.org; Mon, 11 Jun 2012 17:35:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B96DE0587; Mon, 11 Jun 2012 17:35:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F3C38E0587 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jun 2012 17:35:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 649071B400D for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jun 2012 17:35:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id B7AADE5436 for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jun 2012 17:35:07 +0000 (UTC) From: "Sebastian Pipping" <sping@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" <sping@gentoo.org> Message-ID: <1339435985.36d0fb5559726d863624c75614f35a875aa2fb6d.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts X-VCS-Directories: defaults/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 36d0fb5559726d863624c75614f35a875aa2fb6d X-VCS-Branch: master Date: Mon, 11 Jun 2012 17:35:07 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f7ed229e-6507-4d29-b302-39be5e27aa2a X-Archives-Hash: df24697e06aa64cc9d579fd44ab2febc commit: 36d0fb5559726d863624c75614f35a875aa2fb6d Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org> AuthorDate: Mon Jun 11 17:33:05 2012 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Mon Jun 11 17:33:05 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D36d0fb55 Make recent addition conform to POSIX --- defaults/initrd.scripts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index fd9ac27..f05a746 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -756,7 +756,7 @@ openLUKS() { case $1 in root) local TYPE=3DROOT - [ -n "${REAL_ROOT}" ] && local LUKS_NAME=3D"$(echo "$REAL_ROOT" | sed= -e 's/.*\///')" + [ -n "${REAL_ROOT}" ] && local LUKS_NAME=3D"`echo "${REAL_ROOT}" | se= d -e 's|.*/||'`" ;; swap) local TYPE=3DSWAP