public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuli Suominen (ssuominen)" <ssuominen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-197-r4.ebuild ChangeLog udev-9999.ebuild
Date: Mon, 21 Jan 2013 19:44:52 +0000 (UTC)	[thread overview]
Message-ID: <20130121194452.9EEDE2171D@flycatcher.gentoo.org> (raw)

ssuominen    13/01/21 19:44:52

  Modified:             udev-197-r4.ebuild ChangeLog udev-9999.ebuild
  Log:
  Use plain bash instead of calling external executable grep in fstab check by Arfrever
  
  (Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

Revision  Changes    Path
1.9                  sys-fs/udev/udev-197-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild?r1=1.8&r2=1.9

Index: udev-197-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- udev-197-r4.ebuild	21 Jan 2013 19:05:42 -0000	1.8
+++ udev-197-r4.ebuild	21 Jan 2013 19:44:52 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v 1.8 2013/01/21 19:05:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r4.ebuild,v 1.9 2013/01/21 19:44:52 ssuominen Exp $
 
 EAPI=4
 
@@ -457,7 +457,7 @@
 	fi
 
 	local fstab="${ROOT}"etc/fstab
-	if $(grep -qs ^udev "${fstab}"); then
+	if [[ $(<"${fstab}") =~ (^|$'\n')udev ]]; then
 		ewarn "You should review and/or remove your udev starting line from ${fstab}"
 		ewarn "Not doing so might result in unbootable system."
 		ewarn "You have been warned. For details, see:"



1.793                sys-fs/udev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.793&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.793&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.792&r2=1.793

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
retrieving revision 1.792
retrieving revision 1.793
diff -u -r1.792 -r1.793
--- ChangeLog	21 Jan 2013 18:56:20 -0000	1.792
+++ ChangeLog	21 Jan 2013 19:44:52 -0000	1.793
@@ -1,6 +1,11 @@
 # ChangeLog for sys-fs/udev
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.792 2013/01/21 18:56:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.793 2013/01/21 19:44:52 ssuominen Exp $
+
+  21 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> udev-197-r4.ebuild,
+  udev-9999.ebuild:
+  Use plain bash instead of calling external executable grep in fstab check by
+  Arfrever
 
   21 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> udev-197-r3.ebuild,
   udev-197-r4.ebuild, udev-9999.ebuild:



1.151                sys-fs/udev/udev-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.151&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.151&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.150&r2=1.151

Index: udev-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- udev-9999.ebuild	21 Jan 2013 19:05:42 -0000	1.150
+++ udev-9999.ebuild	21 Jan 2013 19:44:52 -0000	1.151
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.150 2013/01/21 19:05:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.151 2013/01/21 19:44:52 ssuominen Exp $
 
 EAPI=4
 
@@ -457,7 +457,7 @@
 	fi
 
 	local fstab="${ROOT}"etc/fstab
-	if $(grep -qs ^udev "${fstab}"); then
+	if [[ $(<"${fstab}") =~ (^|$'\n')udev ]]; then
 		ewarn "You should review and/or remove your udev starting line from ${fstab}"
 		ewarn "Not doing so might result in unbootable system."
 		ewarn "You have been warned. For details, see:"





             reply	other threads:[~2013-01-21 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21 19:44 Samuli Suominen (ssuominen) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-24 10:36 [gentoo-commits] gentoo-x86 commit in sys-fs/udev: udev-197-r4.ebuild ChangeLog udev-9999.ebuild Samuli Suominen (ssuominen)
2013-01-24  3:13 Samuli Suominen (ssuominen)
2013-01-20  9:57 Samuli Suominen (ssuominen)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130121194452.9EEDE2171D@flycatcher.gentoo.org \
    --to=ssuominen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox