From ea0dc4805d12b2a1ee8727f8750647ecf825da28 Mon Sep 17 00:00:00 2001 From: Magnus Hauge Bakke Date: Sun, 3 Apr 2016 17:07:20 +0200 Subject: [PATCH] Make sed commands in makefile compatible with os x --- electron.makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron.makefile b/electron.makefile index 7f75daf..a42f84f 100644 --- a/electron.makefile +++ b/electron.makefile @@ -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