Hi jbq,

This doesn't work well for me (Debian unstable, GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu)).

It is OK with -i"" (no space).

Kind regards
Martin Grigorov


On Fri, 6 Apr 2007, [EMAIL PROTECTED] wrote:

Author: jbq
Date: Fri Apr  6 01:49:29 2007
New Revision: 526101

URL: http://svn.apache.org/viewvc?view=rev&rev=526101
Log:
sed -i: Do not create backup files with the "-e" extension

Modified:
   incubator/wicket/branches/wicket-1.x/eclipse.sh

Modified: incubator/wicket/branches/wicket-1.x/eclipse.sh
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/eclipse.sh?view=diff&rev=526101&r1=526100&r2=526101
==============================================================================
--- incubator/wicket/branches/wicket-1.x/eclipse.sh (original)
+++ incubator/wicket/branches/wicket-1.x/eclipse.sh Fri Apr  6 01:49:29 2007
@@ -1,3 +1,3 @@
#/bin/sh
mvn eclipse:eclipse
-find jdk-1.4 -name .classpath -exec sed -i -e 
's/org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.launching.JRE_CONTAINER\/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\/J2SE-1.4/g'
 {} \;
+find jdk-1.4 -name .classpath -exec sed -i "" -e 
's/org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.launching.JRE_CONTAINER\/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\/J2SE-1.4/g'
 {} \;




Reply via email to