linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix enumeration for write_cd_rules
@ 2008-12-22 11:26 Harald Hoyer
  2008-12-22 14:06 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Harald Hoyer @ 2008-12-22 11:26 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-quote-as-it-would-be-taken-as-a-part-of-the-regex.patch --]
[-- Type: text/plain, Size: 895 bytes --]

From 59dbbb61c7c9bd15aa19f9e88334d9e75c3a3ab2 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 22 Dec 2008 12:23:34 +0100
Subject: [PATCH] quote +, as it would be taken as a part of the regexp otherwise

fix for https://bugzilla.redhat.com/show_bug.cgi?id=477535
---
 extras/rule_generator/write_cd_rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/rule_generator/write_cd_rules b/extras/rule_generator/write_cd_rules
index 8de2276..398cd27 100644
--- a/extras/rule_generator/write_cd_rules
+++ b/extras/rule_generator/write_cd_rules
@@ -23,7 +23,7 @@ RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
 . /lib/udev/rule_generator.functions
 
 find_next_available() {
-	raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
+	raw_find_next_available "$(find_all_rules 'SYMLINK\+=' "$1")"
 }
 
 write_rule() {
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-22 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 11:26 [PATCH] fix enumeration for write_cd_rules Harald Hoyer
2008-12-22 14:06 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).