- Timestamp:
- 2010-04-29T15:35:37+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/admin/guiext/Command.java
r21919 r21994 111 111 public String getCommandForCurrentOS() 112 112 { 113 String command = (String)_osCommands.get(System.getProperty("os.name")); 113 String currentos = System.getProperty("os.name"); 114 115 String command = (String)_osCommands.get(currentos); 114 116 if(command != null){ 115 117 return command; 118 } 119 120 if(currentos.contains("Windows")){ 121 command = (String)_osCommands.get("Windows"); 122 123 if(command != null){ 124 return command; 125 } 116 126 } 117 127 return (String)_osCommands.get("default");
Note:
See TracChangeset
for help on using the changeset viewer.