Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add -e flag to sed so it does work with BSD/OSX

  • Loading branch information...
commit c64a5b305d1a7b609c5909d72b4aee091a49eb8a 1 parent c33d9fa
@burbas authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 EmbErl.sh
View
6 EmbErl.sh
@@ -74,8 +74,8 @@ done
#Create the erl-xcomp configuration
cat $XCOMP_CONF.in > $XCOMP_CONF
-sed -i "s/@OPT_LEVEL@/${OPT_LEVEL}/" $XCOMP_CONF
-sed -i "s/@HOST@/${HOST}/" $XCOMP_CONF
+sed -ie "s/@OPT_LEVEL@/${OPT_LEVEL}/" $XCOMP_CONF
+sed -ie "s/@HOST@/${HOST}/" $XCOMP_CONF
## FUNCTION DECLARATION SPACE
@@ -136,7 +136,7 @@ then
OTP_MK="make/${HOST}/otp.mk"
show "Patching $OTP_MK to edit erlc options"
- sed -i "s/ \+debug_info/$NEW_COMPILE_OPTS/" $OTP_MK
+ sed -ie "s/ \+debug_info/$NEW_COMPILE_OPTS/" $OTP_MK
fi
#Put SKIP files in the apps we don't want.
Please sign in to comment.
Something went wrong with that request. Please try again.