Revision 11244

View differences:

branches/v10/extensions/extgvSIGPiloto-Raster/src/org/gvsig/rasterTools/grass/GrassDriver.java
66 66
	public boolean fileAccepted(File file) {
67 67
		int index = file.getAbsolutePath().lastIndexOf(File.separator);
68 68
		String path = file.getAbsolutePath().substring(0, index);
69
		return path.endsWith("PERMANENT/cellhd");
69
		return ((path.indexOf("PERMANENT" + File.separator + "cellhd") != -1) || (path.indexOf("PERMANENT" + File.separator + "cell_hd") != -1));
70 70
	}
71 71
	
72 72
	private File file = null;

Also available in: Unified diff