File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
1
3
# Copyright Aeraki Authors
2
4
#
3
5
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -39,16 +41,16 @@ helm install \
39
41
kubectl apply -f $BASEDIR /demo/gateway/demo-ingress.yaml -n istio-system
40
42
kubectl apply -f $BASEDIR /demo/gateway/istio-ingressgateway.yaml -n istio-system
41
43
42
- if [ ${DEMO} == " default" ]
44
+ if [ " ${DEMO} " == " default" ]
43
45
then
44
46
echo " install default demo"
45
47
bash ${BASEDIR} /demo/metaprotocol-dubbo/install.sh
46
48
bash ${BASEDIR} /demo/metaprotocol-thrift/install.sh
47
- elif [ ${DEMO} == " brpc" ]
49
+ elif [ " ${DEMO} " == " brpc" ]
48
50
then
49
51
echo " install brpc demo"
50
52
bash ${BASEDIR} /demo/metaprotocol-brpc/install.sh
51
- elif [ ${DEMO} == " kafka" ]
53
+ elif [ " ${DEMO} " == " kafka" ]
52
54
then
53
55
echo " install kafka demo"
54
56
bash ${BASEDIR} /demo/kafka/install.sh
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ kubectl delete -f $BASEDIR/demo/gateway/demo-ingress.yaml -n istio-system
23
23
kubectl delete -f $BASEDIR /demo/gateway/istio-ingressgateway.yaml -n istio-system
24
24
25
25
26
- if [ ${DEMO} == " default" ]
26
+ if [ " ${DEMO} " == " default" ]
27
27
then
28
28
bash ${BASEDIR} /demo/metaprotocol-dubbo/uninstall.sh
29
29
bash ${BASEDIR} /demo/metaprotocol-thrift/uninstall.sh
30
- elif [ ${DEMO} == " brpc" ]
30
+ elif [ " ${DEMO} " == " brpc" ]
31
31
then
32
32
bash ${BASEDIR} /demo/metaprotocol-brpc/uninstall.sh
33
- elif [ ${DEMO} == " kafka" ]
33
+ elif [ " ${DEMO} " == " kafka" ]
34
34
then
35
35
bash ${BASEDIR} /demo/kafka/uninstall.sh
36
36
fi
You can’t perform that action at this time.
0 commit comments