Browse Source

lib/sde-config/pkgseldir_compile.sh: improved sed pattern for module_get_description() making it a bit more space/tab tolerant

user/chris/old/ruby
Christian Wiese 14 years ago
parent
commit
8fd8ea9165
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/sde-config/pkgseldir_compile.sh

+ 2
- 2
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()

Loading…
Cancel
Save