Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

fix: Fixes #285 sed error on macOS #286

Merged
merged 5 commits into from
Dec 13, 2018
Merged

Conversation

ltfschoen
Copy link
Contributor

No description provided.

@parity-cla-bot
Copy link
Collaborator

It looks like @ltfschoen signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, however I'm not sure everything in the script is necessary

# Refer to comments in ./fixElectronBug.sh
if [[ $SED_MAC_DIR == *"/usr/bin/sed"* ]] ;
then
/usr/bin/sed -i '.bak' "s/$FIND/$REPLACE/g" $FILE
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A simpler solution would be just to replace sed with /usr/bin/sed. imo PWD and SED_MAC_DIR are both not necessary

Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@amaury1093 amaury1093 merged commit 2cb5494 into master Dec 13, 2018
@amaury1093 amaury1093 deleted the luke-285-script-sed-error branch December 13, 2018 12:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants