Skip to contentSkip to conversation

fix enumeration for write_cd_rules

PATCH Applied Harald Hoyer 2 participants 2 messages Dec 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix enumeration for write_cd_rules

From 59dbbb61c7c9bd15aa19f9e88334d9e75c3a3ab2 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <[email protected]>
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(-)
extras/rule_generator/write_cd_rules +1 -1
index 8de2276..398cd27 100644
@@ -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() {
Signature · 1 line
1.6.0.4