Make sed commands in makefile compatible with os x

This commit is contained in:
Magnus Hauge Bakke 2016-04-03 17:07:20 +02:00
parent eec07e7767
commit ea0dc4805d
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ copylocal:
# modify index.html to use local files
uselocal: copylocal
sed -i 's,https://cdnjs.cloudflare.com/ajax/libs/[^\"]*/,3rdparty/,g' index.html
sed -i '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