Make sed commands in makefile compatible with os x again

This commit is contained in:
Magnus Hauge Bakke 2016-04-03 19:45:29 +02:00
parent ea0dc4805d
commit 08f6ec0f05

View file

@ -13,8 +13,8 @@ copylocal:
# modify index.html to use local files
uselocal: copylocal
sed -i .bak 's,https://cdnjs.cloudflare.com/ajax/libs/[^\"]*/,3rdparty/,g' index.html
sed -i .bak 's, integrity=\".*\" crossorigin=\"anonymous\",,' index.html
sed -i.bak 's,https://cdnjs.cloudflare.com/ajax/libs/[^\"]*/,3rdparty/,g' index.html
sed -i.bak 's, integrity=\".*\" crossorigin=\"anonymous\",,' index.html
# build the electron app for various platforms
build-electron-windows: uselocal