Author: ruschein
Date: 2010-10-11 12:59:22 -0700 (Mon, 11 Oct 2010)
New Revision: 22202
Modified:
cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat
Log:
Now creates the .cytoscape directory if it doesn't already exist.
Modified: cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat
===================================================================
--- cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat 2010-10-11
17:36:27 UTC (rev 22201)
+++ cytoscape/trunk/distribution/src/main/bin/gen_vmoptions.bat 2010-10-11
19:59:22 UTC (rev 22202)
@@ -3,6 +3,11 @@
:: Generates the Cytoscape.vmoptions file based on whether
:: we're dealing with a 32 bit or 64 bit JVM.
+:: Create the .cytoscape directory if it doesn't already exist
+if exist %HOMEPATH%\.cytoscape goto dot_cytoscape_exists
+mkdir %HOMEPATH%\.cytoscape
+:dot_cytoscape_exists
+
if exist findstr.out del findstr.out
java -version 2>&1 | findstr /I 64-Bit > findstr.out
for /f %%i in ('dir /b findstr.out') do if %%~zi equ 0 goto 32bit
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.