Skip to content

Instantly share code, notes, and snippets.

@ruebot
Created September 10, 2012 16:19
Show Gist options
  • Save ruebot/3691851 to your computer and use it in GitHub Desktop.
Save ruebot/3691851 to your computer and use it in GitHub Desktop.
dataverse - glassfish check
# 5a. CHECK IF GLASSFISH DIR LOOKS OK:
unless ( -d $glassfish_dir."/glassfish/domains/domain1" )
{
# TODO: need better check than this
while ( ! ( -d $glassfish_dir."/glassfish/domains/domain1" ) )
{
print "\nInvalid Glassfish directory " . $glassfish_dir . "!\n";
print "Enter the root directory of your Glassfish installation:\n";
print "(Or ctrl-C to exit the installer): ";
$glassfish_dir = <>;
chop $glassfish_dir;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment