petite/src/wombat/scheme/Petite.java
private File findPetiteDirectory() {
		// Find the correct Petite directory.
		File pdir = null;
		for (File dir : searchDirs) {
			if (dir != null && dir.exists() && dir.isDirectory()) {
				for (String path : dir.list()) {
					if (path.startsWith("petite") && path.endsWith(OS.IsWindows ? "win" : OS.IsOSX ? "osx" : OS.IsLinux ? "linux" : "unknown")) {
						pdir = new File(dir, path);
						break;
					}
				}
			}
			if (pdir != null) 
				break;
		}
		return pdir;
	}
/**
	 * Find the Petite directory..
	 * @return The directory or null if one could not be found.
	 */
Find the Petite directory
@return The directory or null if one could not be found.
Find the Petite directory @return The directory or null if one could not be found .
private File findPetiteDirectory() {
		File pdir = null;
		for (File dir : searchDirs) {
			if (dir != null && dir.exists() && dir.isDirectory()) {
				for (String path : dir.list()) {
					if (path.startsWith("petite") && path.endsWith(OS.IsWindows ? "win" : OS.IsOSX ? "osx" : OS.IsLinux ? "linux" : "unknown")) {
						pdir = new File(dir, path);
						break;
					}
				}
			}
			if (pdir != null) 
				break;
		}
		return pdir;
	}
private File findPetiteDirectory ( ) { File pdir = null ; for ( File dir : searchDirs ) { if ( dir != null && dir . exists ( ) && dir . isDirectory ( ) ) { for ( String path : dir . list ( ) ) { if ( path . startsWith ( "petite" ) && path . endsWith ( OS . IsWindows ? "win" : OS . IsOSX ? "osx" : OS . IsLinux ? "linux" : "unknown" ) ) { pdir = new File ( dir , path ) ; break ; } } } if ( pdir != null ) break ; } return pdir ; }
Find the Petite directory..
 @return The directory or null if one could not be found.
Find the Petite directory .. @return The directory or null if one could not be found .
// Find the correct Petite directory.