code: public static void setScriptsExecutable(File dir) {
  		String os = System.getProperty("os.name");
  		if (os != null && !os.startsWith("Windows")) {
  			FileFilter filter = FileUtils.getSuffixFileFilter(".sh");
  			setExecutable(dir, filter);
  		}
  	}
docs: Make scripts (ending with .sh) executable on *nix systems.