From 8fd8ea91658354cb7a48090d4a7ffa8a20270b27 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 7 Apr 2010 17:09:55 +0200 Subject: [PATCH] lib/sde-config/pkgseldir_compile.sh: improved sed pattern for module_get_description() making it a bit more space/tab tolerant --- lib/sde-config/pkgseldir_compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sde-config/pkgseldir_compile.sh b/lib/sde-config/pkgseldir_compile.sh index b73e6c3..840af20 100755 --- a/lib/sde-config/pkgseldir_compile.sh +++ b/lib/sde-config/pkgseldir_compile.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: lib/sde-config/pkgseldir_compile.sh -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2010 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -32,7 +32,7 @@ module_get_var() module_get_description() { - sed -n -e 's/^# Description: \(.*\)/\1/p' "$1" + sed -n -e 's/^#[ \t]*Description:[ \t]*\(.*\)/\1/p' "$1" } module_get_default()