forked from ungleich-public/cdist
bugfix for github issue 13
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
740fca84e5
commit
62b5af8fdb
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ DONE
|
||||||
# change value
|
# change value
|
||||||
cat << DONE
|
cat << DONE
|
||||||
awk -F "$delimiter" '
|
awk -F "$delimiter" '
|
||||||
/${key}${delimiter}*/{gsub(/$value_is/, "$value_should")};{print}' "$file" > "${file}+" \
|
/${key}${delimiter}*/{gsub("$value_is", "$value_should")};{print}' "$file" > "${file}+" \
|
||||||
&& mv "${file}+" "$file"
|
&& mv "${file}+" "$file"
|
||||||
|
|
||||||
DONE
|
DONE
|
||||||
|
|
Loading…
Reference in a new issue