diff --git a/openshift/catalogd/cp-manifests b/openshift/catalogd/cp-manifests index ca5e7fcce..0251b1451 100755 --- a/openshift/catalogd/cp-manifests +++ b/openshift/catalogd/cp-manifests @@ -5,10 +5,8 @@ if [ -z "${1}" ]; then exit 1 fi -DEST=${1} +DEST="${1}/helm/catalogd" -if [ -d /openshift/helm ]; then - mkdir -p "${DEST}/helm/catalogd" - cp -a /openshift/helm/* "${DEST}/helm/catalogd" -fi +mkdir -p "${DEST}" +cp -a /openshift/helm/* "${DEST}" diff --git a/openshift/operator-controller/cp-manifests b/openshift/operator-controller/cp-manifests index 722d7c645..d3e89ede9 100755 --- a/openshift/operator-controller/cp-manifests +++ b/openshift/operator-controller/cp-manifests @@ -5,10 +5,8 @@ if [ -z "${1}" ]; then exit 1 fi -DEST=${1} +DEST="${1}/helm/operator-controller" -if [ -d /openshift/helm ]; then - mkdir -p "${DEST}/helm/operator-controller" - cp -a /openshift/helm/* "${DEST}/helm/operator-controller" -fi +mkdir -p "${DEST}" +cp -a /openshift/helm/* "${DEST}"