Commit a5cc5d66 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

It was missing a line-return on stdout

parent 070ff503
......@@ -84,6 +84,7 @@ func version(r *http.Request) string {
checkError("Can't read dir " + path, err)
sort.Sort(sortableFiles(files))
version = files[len(files)-1].Name()
debug("Will use the latest version %s", version)
return version
}
return ""
......@@ -116,7 +117,7 @@ func scriptHandler(w http.ResponseWriter, r *http.Request) {
debug("VERSION: %s", version)
versionRootDir := os.Getenv("GUIHIVE_PROJECTDIR") + "/versions/" + version + "/";
ehiveRootDir := versionRootDir + "/ensembl-hive"
ehiveRootDir := os.Getenv("GUIHIVE_PROJECTDIR") + "/ensembl-hive/" + version + "/";
ehiveRootLib := ehiveRootDir + "/modules"
guihiveRootLib := versionRootDir + "/scripts/lib"
newPerl5Lib := addPerl5Lib(ehiveRootLib + ":" + guihiveRootLib)
......
......@@ -232,6 +232,7 @@ print "\nIf you have any problem email mp[AT]ebi.ac.uk\n\n";
sub not_met_dep {
my ($who, $command, $desc, $help) = @_;
print "\n";
my $msg = "\n\n" . "#"x80 . "\n";
$msg .= "UNMET DEPENDECY: $who\n";
$msg .= " COMM: $command\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment