Skip to content
Snippets Groups Projects
Commit 5c78f275 authored by Christian Engwer's avatar Christian Engwer
Browse files

[dunecontrol]

fix whitespace match for awk

[[Imported from SVN: r6827]]
parent 8e777646
Branches
Tags
No related merge requests found
......@@ -43,7 +43,7 @@ BLANK="$space$tab"
# paramters:
# $1 file to read
#
PARSER_TRIM="awk '{gsub(/^ +| +$/,\"\");printf(\"%s\", \$0);}'"
PARSER_TRIM="awk '{gsub(/^[[:space:]]+| +$/,\"\");printf(\"%s\", \$0);}'"
parse_control() {
# check file existence
if test ! -f "$1" -o "$(basename $1)" != "$CONTROL"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment