From e51fab2cc5c59220d9e22d2a14bb56d4ad87cd58 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 27 Dec 2012 08:10:02 +0000 Subject: [PATCH] Correct a bug in xsl files, which made modules disappear when no other package was present in a sublist. + make version bumping work for modules --- BLFS/xsl/bump.xsl | 3 ++- BLFS/xsl/gen_config.xsl | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BLFS/xsl/bump.xsl b/BLFS/xsl/bump.xsl index a918bfa..1f368a7 100644 --- a/BLFS/xsl/bump.xsl +++ b/BLFS/xsl/bump.xsl @@ -13,7 +13,8 @@ + "document($packages)//*[self::package or self::module] + [string(name)=$package]/version"/> diff --git a/BLFS/xsl/gen_config.xsl b/BLFS/xsl/gen_config.xsl index 993e1e8..22680e8 100644 --- a/BLFS/xsl/gen_config.xsl +++ b/BLFS/xsl/gen_config.xsl @@ -63,7 +63,8 @@ config SUDO config MENU_ @@ -90,7 +91,8 @@ depends MENU_ config MENU_