diff --git a/build.sh b/build.sh index 44ffa5fe..66ab122e 100644 --- a/build.sh +++ b/build.sh @@ -68,7 +68,7 @@ if [ ! -f "$varFile" ]; then echo "variables.txt not exists" exit 1 fi -cat $varFile | awk -F ':' '{print "replaceVar", $1, $2 | "/bin/bash"}' +cat $varFile | awk -F ':' '{print "replaceVar", $1, $2}' | "/bin/bash" cd $workdir zip -r "${pkg_name}" ${folder_name} @@ -103,7 +103,7 @@ if [ ! -f "$varFile" ]; then echo "variables.txt not exists" exit 1 fi -cat $varFile | awk -F ':' '{print "replaceVar", $1, $2 | "/bin/bash"}' +cat $varFile | awk -F ':' '{print "replaceVar", $1, $2}' | "/bin/bash" cd $workdir zip -r "${pkg_name}" ${folder_name} #md5sum ${pkg_name} > "${pkg_name}.md5sum" diff --git a/deploy/kubernetes_v1.21/kubernetes/install.sh b/deploy/kubernetes_v1.21/kubernetes/install.sh index 9e702157..79df04ba 100755 --- a/deploy/kubernetes_v1.21/kubernetes/install.sh +++ b/deploy/kubernetes_v1.21/kubernetes/install.sh @@ -24,7 +24,7 @@ fi export -f replaceVar -cat $varFile | awk -F ':' '{print "replaceVar", $1, $2 | "/bin/bash"}' +cat $varFile | awk -F ':' '{print "replaceVar", $1, $2}' | "/bin/bash" kubectl apply -f namespace.yaml kubectl create secret generic polaris-sidecar-injector -n polaris-system \