Merge branch 'issue-13' of https://github.com/asteven/cdist
This commit is contained in:
commit
1e652569f8
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