THRIFT-186. erl: Make the Makefile work on OpenSolaris


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@709086 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/src/Makefile b/lib/erl/src/Makefile
index e02cb49..d2d4ff1 100644
--- a/lib/erl/src/Makefile
+++ b/lib/erl/src/Makefile
@@ -25,8 +25,8 @@
 # ----------------------------------------------------
 
 
-MODULES = $(shell find . -name \*.erl | sed s:^\\./:: | sed s/\\.erl//)
-MODULES_STRING_LIST = $(shell find . -name \*.erl | sed s:^\\./:\": | sed s/\\.erl/\",/)
+MODULES = $(shell find . -name \*.erl | sed 's:^\./::' | sed 's/\.erl//')
+MODULES_STRING_LIST = $(shell find . -name \*.erl | sed 's:^\./:":' | sed 's/\.erl/",/')
 
 HRL_FILES=
 INTERNAL_HRL_FILES= $(APP_NAME).hrl