diff --git a/src/resources/setup.sh b/src/resources/setup.sh index fa12821..9f6d3f8 100644 --- a/src/resources/setup.sh +++ b/src/resources/setup.sh @@ -2,7 +2,7 @@ PS1='$ ' TOMCAT_DST_FOLDER="tomcat" TOMCAT_VERSION="${tomcat.version}" TOMCAT_PID_FILENAME="tomcat.pid" -SMARTGEAR_DISTRIBUTION_DIRECTORY="smartgears-distribution-${smartgears-distribution.version}" +SMARTGEAR_DISTRIBUTION_DIRECTORY=$(ls -d smartgears-distribution-*) SMARTGEAR_ROOT=${PWD} BUNDLE_HOME=${SMARTGEAR_ROOT}