We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75ee19 commit 7d79dc1Copy full SHA for 7d79dc1
openshift/generate-manifests.sh
@@ -54,7 +54,8 @@ mkdir -p "${TMP_ROOT}/openshift"
54
cp -a "${REPO_ROOT}/openshift/kustomize" "${TMP_ROOT}/openshift/kustomize"
55
56
# Override OPENSHIFT-NAMESPACE to ${NAMESPACE}
57
-find "${TMP_ROOT}" -name "*.yaml" -exec sed -i "s/OPENSHIFT-NAMESPACE/${NAMESPACE}/g" {} \;
+find "${TMP_ROOT}" -name "*.yaml" -exec sed -i'.bak' "s/OPENSHIFT-NAMESPACE/${NAMESPACE}/g" {} \;
58
+find "${TMP_ROOT}" -name "*.bak" -exec rm {} \;
59
60
# Create a temp dir for manifests
61
TMP_MANIFEST_DIR="${TMP_ROOT}/manifests"
0 commit comments