Avoid --output-delimiter as argument to cut.
This commit is contained in:
parent
26a3b37620
commit
bdc7f40a5f
|
@ -92,7 +92,7 @@ TEMPLATE=""
|
||||||
ONTOLOGY="core"
|
ONTOLOGY="core"
|
||||||
CONFIG="isadof.cfg"
|
CONFIG="isadof.cfg"
|
||||||
while IFS= read -r line;do
|
while IFS= read -r line;do
|
||||||
fields=($(printf "%s" "$line"|cut -d':' --output-delimiter=' ' -f1-))
|
fields=($(printf "%s" "$line"|cut -d':' -f1- | tr ':' ' '))
|
||||||
if [[ "${fields[0]}" = "Template" ]]; then
|
if [[ "${fields[0]}" = "Template" ]]; then
|
||||||
TEMPLATE="${fields[1]}"
|
TEMPLATE="${fields[1]}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue