Merge "Function.java - sonar fixes"
[aaf/authz.git] / auth / sample / bin / service.sh
index df8a744..54a1cc5 100644 (file)
@@ -135,10 +135,9 @@ if [ ! -e $LOCAL/org.osaaf.aaf.props ]; then
     echo aaf_locate_url=${AAF_LOCATE_URL} >> ${TMP}
     for P in `env`; do
       if [[ "$P" == aaf_locator* ]]; then
-       echo "$P" >> ${TMP}
-        if [[ "$P" == aaf_locator_container=* ]]; then
-           echo aaf_locator_container.hostname=${HOSTNAME} >> ${TMP}
-       fi
+        S="${P/_helm/.helm}"
+        S="${S/_oom/.oom}"
+       echo "$S" >> ${TMP}
       fi
     done