Skip to content

Commit 4d1797a

Browse files
Merge pull request #511 from tmshort/clean-cp-manifests
NO-ISSUE: Clean up cp-manifests
2 parents 10fea86 + 0534ba8 commit 4d1797a

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

openshift/catalogd/cp-manifests

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ if [ -z "${1}" ]; then
55
exit 1
66
fi
77

8-
DEST=${1}
8+
DEST="${1}/helm/catalogd"
99

10-
if [ -d /openshift/helm ]; then
11-
mkdir -p "${DEST}/helm/catalogd"
12-
cp -a /openshift/helm/* "${DEST}/helm/catalogd"
13-
fi
10+
mkdir -p "${DEST}"
11+
cp -a /openshift/helm/* "${DEST}"
1412

openshift/operator-controller/cp-manifests

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ if [ -z "${1}" ]; then
55
exit 1
66
fi
77

8-
DEST=${1}
8+
DEST="${1}/helm/operator-controller"
99

10-
if [ -d /openshift/helm ]; then
11-
mkdir -p "${DEST}/helm/operator-controller"
12-
cp -a /openshift/helm/* "${DEST}/helm/operator-controller"
13-
fi
10+
mkdir -p "${DEST}"
11+
cp -a /openshift/helm/* "${DEST}"
1412

0 commit comments

Comments
 (0)