summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-03-20 17:35:37 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-03-20 17:41:54 +0100
commitc9793babc3356a945daa8f36f27d7d4260f813dd (patch)
tree22fb3a2498eda9f943c968b6f41b6da3ea5e2983
parent7ae1d73fee13ba4c24b335c70835981d8486e4cc (diff)
downloadclufter-c9793babc3356a945daa8f36f27d7d4260f813dd.tar.gz
clufter-c9793babc3356a945daa8f36f27d7d4260f813dd.tar.xz
clufter-c9793babc3356a945daa8f36f27d7d4260f813dd.zip
filters/ccsflat2pcsprelude[postgres-8]: fix a ".." hack
We hadn't been going up enough (from '/etc/init.d/'). Still thinking about a better solution, though. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1201297 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--filters/cluster/rm/script/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/cluster/rm/script/__init__.py b/filters/cluster/rm/script/__init__.py
index c6ec33f..f52206c 100644
--- a/filters/cluster/rm/script/__init__.py
+++ b/filters/cluster/rm/script/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: UTF-8 -*-
-# Copyright 2014 Red Hat, Inc.
+# Copyright 2015 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"
@@ -29,7 +29,7 @@ ccsflat2pcsprelude = ('''\
not(starts-with(@file, '/etc/init.d/'))">
<xsl:attribute name="class">lsb</xsl:attribute>
<xsl:attribute name="type">
- <xsl:value-of select="concat('../..', @file)"/>
+ <xsl:value-of select="concat('../../../', @file)"/>
</xsl:attribute>
<xsl:comment><xsl:value-of select="concat(' ', %(note)s, ' ')"/></xsl:comment>
<xsl:message><xsl:value-of select="concat(%(note)s)"/></xsl:message>