From f99c03fef722edbce73b194f8bac9789be931f46 Mon Sep 17 00:00:00 2001 From: chonghe Date: Tue, 1 Aug 2023 10:12:27 +0800 Subject: [PATCH] update --- Makefile | 2 +- scripts/cli.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02718e0f89..73fe96d7cc 100644 --- a/Makefile +++ b/Makefile @@ -187,7 +187,7 @@ test: test-release # Run bash script to output cli.txt cli: - /home/hi/cli/lighthouse/scripts/cli.sh + ./lighthouse/scripts/cli.sh # Runs the entire test suite, downloading test vectors if required. test-full: cargo-fmt test-release test-debug test-ef test-exec-engine cli diff --git a/scripts/cli.sh b/scripts/cli.sh index b7b001c3b5..5b46f38d11 100644 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -8,7 +8,7 @@ read -p "Enter Lighthouse version: " version binary="curl -LO https://github.com/sigp/lighthouse/releases/download/v$version/lighthouse-v$version-x86_64-unknown-linux-gnu.tar.gz" #download the binary to the present working directory -cd /home/hi/cli/lighthouse/scripts +cd ./lighthouse/scripts $binary #extract