summaryrefslogtreecommitdiffstats
path: root/packages/base/src/files/bin/configure-maven
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-12-02 19:03:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-02 19:03:23 +0000
commit1ae36482529aaaa266bf39b69aa2b614a1ab2f1d (patch)
tree190dea4ed08d5ea812bcced3c073518f1bc775ab /packages/base/src/files/bin/configure-maven
parentf01256145bd9abb97cb9fba3019dcaccaeeca509 (diff)
parent8583b5150f8ccf3a1d1b0e4849346024763aa838 (diff)
Merge "move all bash to ash shell scripts"
Diffstat (limited to 'packages/base/src/files/bin/configure-maven')
-rw-r--r--packages/base/src/files/bin/configure-maven6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/base/src/files/bin/configure-maven b/packages/base/src/files/bin/configure-maven
index 7da5f6a4..34d6de70 100644
--- a/packages/base/src/files/bin/configure-maven
+++ b/packages/base/src/files/bin/configure-maven
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env ash
# ============LICENSE_START=======================================================
# ONAP
@@ -20,14 +20,14 @@
source ${POLICY_HOME}/etc/profile.d/env.sh
-if [[ ${DEBUG} == y ]]; then
+if [ "${DEBUG}" = "y" ]; then
set -x
fi
HOME_M2="${HOME}"/.m2
mkdir -p "${HOME_M2}" 2> /dev/null
-if [[ -z "${SNAPSHOT_REPOSITORY_URL}" && -z "${RELEASE_REPOSITORY_URL}" ]]; then
+if [ -z "${SNAPSHOT_REPOSITORY_URL}" ] && [ -z "${RELEASE_REPOSITORY_URL}" ]; then
ln -s -f "${POLICY_HOME}"/etc/m2/standalone-settings.xml "${HOME_M2}"/settings.xml
else
ln -s -f "${POLICY_HOME}"/etc/m2/settings.xml "${HOME_M2}"/settings.xml