Created
September 10, 2012 16:19
-
-
Save ruebot/3691851 to your computer and use it in GitHub Desktop.
dataverse - glassfish check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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