diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-20 15:24:06 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-20 15:24:06 +0300 |
commit | a310c43176e22815722608c8dc3e6cd5a42bc091 (patch) | |
tree | ebd84c06791d94bfb04678f5184e5171cdec91d6 /include/profiles | |
parent | 1823bf10400843abf280766deb639f1fff4b9808 (diff) |
Set hyphen as last character to allow it being matched
Diffstat (limited to 'include/profiles')
-rw-r--r-- | include/profiles | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles index 26b7b9b1..8121cd9a 100644 --- a/include/profiles +++ b/include/profiles @@ -59,7 +59,7 @@ fi # Now parse the profile and filter out unwanted characters - DATA=$(egrep "^config:|^[a-z-].*=" ${PROFILE} | tr -dc '[:alnum:]/\[\]\(\)\-_\|,\.:;= \n\r' | sed 's/ /!space!/g') + DATA=$(egrep "^config:|^[a-z-].*=" ${PROFILE} | tr -dc '[:alnum:]/\[\]\(\)_\|,\.:;= \n\r-' | sed 's/ /!space!/g') for CONFIGOPTION in ${DATA}; do if ContainsString "^config:" "${CONFIGOPTION}"; then # Old style configuration |