From 95314ac4528163cae7df609e7d44779e4f90e904 Mon Sep 17 00:00:00 2001 From: Leo Simons Date: Wed, 4 Jun 2014 10:48:00 +0200 Subject: [PATCH] Fix set-eclipse-profile.sh to work with mac/bsd sed. Signed-off-by: Daan Hoogland --- tools/eclipse/set-eclipse-profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/eclipse/set-eclipse-profile.sh b/tools/eclipse/set-eclipse-profile.sh index 1abc662e6d3..c0cc9a9ca80 100644 --- a/tools/eclipse/set-eclipse-profile.sh +++ b/tools/eclipse/set-eclipse-profile.sh @@ -21,6 +21,6 @@ for file in `find . -name org.eclipse.m2e.core.prefs | xargs`; do echo Skipping $file; else echo Replacing $file; - sed -i s/activeProfiles=/activeProfiles=eclipse/g $file; + sed -i -e s/activeProfiles=/activeProfiles=eclipse/g $file; fi; done \ No newline at end of file