summaryrefslogtreecommitdiff
path: root/extras/rule_generator
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-02-26 15:07:42 +0100
committerKay Sievers <kay.sievers@suse.de>2007-02-26 15:07:42 +0100
commit1f889fb84fa14d1e7e3c2a1a3bc5e0df5c6fba23 (patch)
tree6f4c5d7607cdf007a2120f32346e9b8e7ecd19ce /extras/rule_generator
parent58310f6698b69e78a782e2caa7c1c5d34ebdd1b5 (diff)
rule_generator: fix for creating rules on read-only filesystem
Diffstat (limited to 'extras/rule_generator')
-rw-r--r--extras/rule_generator/rule_generator.functions1
1 files changed, 0 insertions, 1 deletions
diff --git a/extras/rule_generator/rule_generator.functions b/extras/rule_generator/rule_generator.functions
index 14c585a86a..712ed269e0 100644
--- a/extras/rule_generator/rule_generator.functions
+++ b/extras/rule_generator/rule_generator.functions
@@ -92,7 +92,6 @@ find_all_rules() {
local linkre="$2"
local match="$3"
- [ -e $RULES_FILE ] || return
local search='.*[[:space:],]'"$key"'"\('"$linkre"'\)"[[:space:]]*\(,.*\|\\\|\)$'
echo $(sed -n -e "${match}s/${search}/\1/p" $RO_RULES_FILE $RULES_FILE)
}