From 0163b4e540e6391d5fb6f7d88f146dd314f60a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Rib=C3=B3?= Date: Mon, 25 Mar 2024 18:30:42 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20issue=20with=20build=20script=20not=20re?= =?UTF-8?q?placing=20some=20files=20that=20have=20been=20=E2=80=A6=20(#191?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- externals/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/run.sh b/externals/run.sh index edcae4047..b6a520db2 100755 --- a/externals/run.sh +++ b/externals/run.sh @@ -39,7 +39,7 @@ buildDIDComm() { #This code fails on browser when wasm is first loaded, it can just be ignored #The code will fully work cd "${GenDIDComm}-wasm-browser" - sed -i "/if (typeof input === 'undefined') {/,/}/d" didcomm_js.js + sed -i '' "/if (typeof input === 'undefined') {/,/}/d" didcomm_js.js cd $ExternalsDir git submodule | grep $DIDComm | awk '{print $1}' > "./${DIDComm}.commit" @@ -64,7 +64,7 @@ buildAnonCreds() { #This code fails on browser when wasm is first loaded, it can just be ignored #The code will fully work cd "${GenAnonCreds}-wasm-browser" - sed -i '/if (typeof input === '\''undefined'\'') {/,/}/d' "./${AnonCreds}.js" + sed -i '' "/if (typeof input === 'undefined') {/,/}/d" "./${AnonCreds}.js" cd $ExternalsDir git submodule | grep $AnonCreds | awk '{print $1}' > "./${AnonCreds}.commit"