diff options
author | Jim Hahn <jrh3@att.com> | 2020-12-02 19:03:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-02 19:03:23 +0000 |
commit | 1ae36482529aaaa266bf39b69aa2b614a1ab2f1d (patch) | |
tree | 190dea4ed08d5ea812bcced3c073518f1bc775ab /packages/base/src/files/bin/configure-maven | |
parent | f01256145bd9abb97cb9fba3019dcaccaeeca509 (diff) | |
parent | 8583b5150f8ccf3a1d1b0e4849346024763aa838 (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-maven | 6 |
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 |