|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: lib/sde-config/functions.in |
|
|
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2010 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
@ -16,6 +16,11 @@ |
|
|
|
|
|
|
|
. lib/core-functions.in |
|
|
|
|
|
|
|
config_getfield() { |
|
|
|
grep "^[\t ]*#[\t ]*$1[\t ]*:" "$2" 2> /dev/null | |
|
|
|
cut -d: -f2- | sed -e 's,^[\t ]*,,' -e 's,[\t ]*$,,' |
|
|
|
} |
|
|
|
|
|
|
|
# Function to cache config.in and subconfig.in file lists |
|
|
|
# |
|
|
|
create_configin_list() { |
|
|
|