Fixing pom and distro files for release 2.0.0

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution-bundle@122904 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-02-08 12:00:38 +00:00
parent 88fa35e8a7
commit 5491415a98
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,12 @@
<ReleaseNotes>
<Changeset component="org.gcube.distribution.smartgears-distribution-bundle.2-0-0" date="2015-02-08">
<Change>Fixing hostname code on setup</Change>
<Change>Upgraded bundle for version 2.0.0 of smartgears</Change>
</Changeset>
<Changeset component="org.gcube.distribution.smartgears-distribution-bundle.1-0-5" date="2015-01-08">
<Change>Used property to set tomcat version</Change>
<Change>Improve setup for smartgears-distribution-bundle (refs #77)</Change>
</Changeset>
<Changeset component="org.gcube.distribution.smartgears-distribution-bundle.1-0-4" date="2015-10-16">
<Change>Passing smartgears-distribution version as argument when compiling</Change>
<Change>Used tomcat 7 range instead of fixed version</Change>

View File

@ -27,11 +27,10 @@ function showhelp {
}
function hostname {
local DOMAIN=$(/bin/domainname)
local HOSTNAME=$(/bin/hostname)
if [ -z "$HOST" ]; then
HOST=${HOSTNAME}.${DOMAIN}
HOST=${HOSTNAME}
fi
local HOST_OK=false