fix updating config via jq
This commit is contained in:
parent
26d8aac941
commit
63634e7743
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,5 +15,5 @@ init:
|
|||
fi
|
||||
|
||||
if [ -z $$(jq '."parser-directories"' $(TS_CONF) | grep $$(dirname $$PWD) ) ]; then \
|
||||
jq ".\"parser-directories\" |= . + [\"$$(dirname $$PWD)\"]" $(TS_CONF) > $(TS_CONF); \
|
||||
cat <<< $$(jq ".\"parser-directories\" |= . + [\"$$(dirname $(PWD))\"]" $(TS_CONF)) > $(TS_CONF); \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue