Due to cutbacks, environment.txt is now called env.txt. Also, yohoho released with the environment

clobbering version of getdown from r274, and that environment clobbering seems to prevent launching
on Linux and some Windows installs.  Now if we want to release with the fixed version of environment
setting and an environment.txt, the clobbering version will run as part of the update, process the
newly downloaded environment.txt, and never launch again.  By renaming it env.txt, we can skirt
around that whole fiasco and environment setting won't go into effect until the new getdown is
running.
This commit is contained in:
Charlie Groves
2009-02-25 00:30:14 +00:00
parent 4018636aa1
commit 3fb0689937
@@ -769,7 +769,7 @@ public class Application
}
String[] envp = createEnvironment ();
String[] envp = createEnvironment();
String[] sargs = new String[args.size()];
args.toArray(sargs);
log.info("Running " + StringUtil.join(sargs, "\n "));
@@ -788,7 +788,7 @@ public class Application
protected String[] createEnvironment ()
{
List<String> envvar = new ArrayList<String>();
fillAssignmentListFromPairs("environment.txt", envvar);
fillAssignmentListFromPairs("env.txt", envvar);
if (envvar.isEmpty()) {
log.info("Didn't find any custom environment variables, not setting any.");
return null;