Skip to content

Commit

Permalink
fix error in install.sh and build.sh (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzliangbin authored Mar 18, 2024
1 parent 3d3daa1 commit 34d0fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes_v1.21/kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 34d0fc4

Please sign in to comment.