Commit in run-script-maven-plugin/src/main/java/org/lcsim on MAIN
RunScriptMavenPluginMojo.java+71.1.1.1 -> 1.2


run-script-maven-plugin/src/main/java/org/lcsim
RunScriptMavenPluginMojo.java 1.1.1.1 -> 1.2
diff -u -r1.1.1.1 -r1.2
--- RunScriptMavenPluginMojo.java	4 Sep 2008 22:59:20 -0000	1.1.1.1
+++ RunScriptMavenPluginMojo.java	4 Sep 2008 23:16:38 -0000	1.2
@@ -77,6 +77,13 @@
 		{
 			throw new RuntimeException(x);
 		}
+		
+		// Set Unix permissions.
+		String os = System.getProperties().getProperty("os.name"); 
+		if (os.contains("Linux") || os.contains("Mac OS X"))
+			Runtime.getRuntime().exec("chmod 755 " + scriptFile.getCanonicalPath());
+		
+		// TODO: Need to set permissions for Windows or defaults are okay?
 	}
 
 	/**
CVSspam 0.2.8