o Fixed command line invocation to be platform-independent
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@640484 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 5f1d51d..3689456 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>1.4.2</version>
+ <version>1.5.1</version>
</dependency>
<dependency>
diff --git a/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java b/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
index 2a21d7c..94c63ac 100644
--- a/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
+++ b/src/main/java/org/apache/maven/plugin/patch/ApplyMojo.java
@@ -28,7 +28,6 @@
import org.codehaus.plexus.util.cli.CommandLineUtils;
import org.codehaus.plexus.util.cli.Commandline;
import org.codehaus.plexus.util.cli.StreamConsumer;
-import org.codehaus.plexus.util.cli.shell.BourneShell;
import java.io.File;
import java.io.FileNotFoundException;
@@ -552,7 +551,6 @@
private Commandline createPatchCommand( File patchFile )
{
Commandline cli = new Commandline();
- cli.setShell( new BourneShell() );
cli.setExecutable( "patch" );