Changeset 9217 for trunk/gli/src/org/greenstone/gatherer/util
- Timestamp:
- 2005-03-01T10:39:23+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r9209 r9217 900 900 901 901 /** returns the path to the greenstone version of wget */ 902 static public String getWGetPath(String gsdl_path) { 902 static public String getWGetPath(String gsdl_path) 903 { 903 904 if (isWindows()) { 904 return gsdl_path + "bin" + File.separator + 905 "windows" + File.separator +"wget.exe"; 906 } 907 // is it the same for macs?? 908 return gsdl_path + "bin" + File.separator + 909 "linux" + File.separator + "wget"; 905 return gsdl_path + "bin" + File.separator + "windows" + File.separator + "wget.exe"; 906 } 907 else if (isMac()) { 908 return gsdl_path + "bin" + File.separator + "darwin" + File.separator + "wget"; 909 } 910 else { 911 return gsdl_path + "bin" + File.separator + "linux" + File.separator + "wget"; 912 } 910 913 } 911 914
Note:
See TracChangeset
for help on using the changeset viewer.