Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 1c030e3

Browse files
committed
[integration-test] fix build script
1 parent 8c33a57 commit 1c030e3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

hack/generate-hyper-conf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [ "$@" != "./build-hyperserve-client.sh" ];then
3+
if [ "$@" != "./build.sh" ];then
44
#ensure config for hyper cli
55
mkdir -p ~/.hyper
66
cat > ~/.hyper/config.json <<EOF
@@ -42,7 +42,7 @@ fi
4242
#execute command
4343
if [ $# -ne 0 ];then
4444
eval $@
45-
if [ "$@" == "./build-hyperserve-client.sh" ];then
45+
if [ "$@" == "./build.sh" ];then
4646
#show make result
4747
if [ $? -eq 0 ];then
4848
echo "OK:)"

integration-cli/util.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ case $1 in
8080
docker build -t hyperhq/hypercli -f Dockerfile.centos .
8181
;;
8282
make)
83+
echo "Start compile hyper client, please wait..."
8384
docker run -it --rm \
8485
-v $(pwd)/../:/go/src/github.com/hyperhq/hypercli \
85-
hyperhq/hypercli ./build-hyperserve-client.sh
86+
hyperhq/hypercli ./build.sh
8687
;;
8788
enter)
8889
docker run -it --rm \

0 commit comments

Comments
 (0)