mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
make the sed command in makefile cross-platform
existing implementation fails on mac because -i requires an argument. according to chatgpt this new version should run everywhere
This commit is contained in:
parent
e4713cf536
commit
3fbad5c13d
2
Makefile
2
Makefile
@ -44,7 +44,7 @@ deploy:
|
|||||||
switch:
|
switch:
|
||||||
rm -rf cache
|
rm -rf cache
|
||||||
rm -rf .nuxt/cache
|
rm -rf .nuxt/cache
|
||||||
sed -Ei s/NUXT_PUBLIC_LOCALE=.+/NUXT_PUBLIC_LOCALE=${LANG}/ .env
|
sed -E -i.bak s/NUXT_PUBLIC_LOCALE=.+/NUXT_PUBLIC_LOCALE=${LANG}/ .env
|
||||||
echo 'Please remember to restart the dev server to make the language switch visible'
|
echo 'Please remember to restart the dev server to make the language switch visible'
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user