summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2017-08-24 14:52:05 -0400
committerMunir Ahmad <munir.ahmad@bell.ca>2017-08-24 14:53:22 -0400
commit4bf6427f67a779e4823a4797e70316bfbfa7257a (patch)
tree4e7d02d116dc1529d5fca40424fc42348e822a46
parent84a99779c29596dbd5f60491043e228c4c3be5d3 (diff)
correct sed command so its env. agnostic
Issue-ID: OOM-174 Change-Id: I603e7bcd54b69db0942afef3f6e47333c04b5544 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
-rwxr-xr-xkubernetes/oneclick/createAll.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/oneclick/createAll.bash b/kubernetes/oneclick/createAll.bash
index 47a8c34194..f5872409e2 100755
--- a/kubernetes/oneclick/createAll.bash
+++ b/kubernetes/oneclick/createAll.bash
@@ -45,7 +45,7 @@ configure_app() {
# this is not ideal and should be addressed (along with the replacement
# of sed commands for configuration) by the future configuration
# user stories (ie. OOM-51 to OOM-53)
- find ../$2 -type f -exec sed -i -template "s/onap-/$1-/g" {} \;
+ find ../$2 -type f -exec sed -i-template "s/onap-/$1-/g" {} \;
# replace the default '/dockerdata-nfs/onapdemo' volume mount paths
find ../$2 -iname "*.yaml" -type f -exec sed -i -e 's/dockerdata-nfs\/[a-zA-Z0-9\\-]*\//dockerdata-nfs\/'"$1"'\//g' {} \;