+LIST="${LIST} ${WILDFLY_MODULE_PATH}"
+
+if [ -d "${GLASSFISH_BASE_PATH}" ]
+then
+ echo "$0: Glassfish personal domain found, adding to LIST ..."
+ LIST="${LIST} ${GLASSFISH_BASE_PATH}"
+fi
+
+if [ ! -f "${DIST}" ]
+then
+ echo "$0: '${DIST}' not found."
+ exit 1
+elif [ ! -d "${WILDFLY_MODULE_BASE_PATH}" ]
+then
+ echo "$0: WildFly base path '${WILDFLY_MODULE_BASE_PATH}' not created."
+ exit 1
+elif [ ! -d "${WILDFLY_MODULE_PATH}" ]
+then
+ mkdir -vp "${WILDFLY_MODULE_PATH}"
+fi