From 79308030428833666295b0fcd7c1bca6202052a4 Mon Sep 17 00:00:00 2001 From: Ruan Pingcheng Date: Mon, 9 Sep 2024 13:26:07 +0800 Subject: [PATCH] update sed cmd for linux --- scripts/release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 0570017..39e4ab7 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -7,8 +7,7 @@ cargo build --features zk-por-core/verifier --release mv target/release/zk-por-cli release/zk-por-verifier mkdir -p release/config -cp config/default.toml release/config/default.toml -sed -i '' 's|/opt/data/zkpor/users/|./sample_data/|g' release/config/default.toml +sed 's|/opt/data/zkpor/users/|./sample_data/|g' config/default.toml > release/config/default.toml mkdir -p release/sample_data cp -r test-data/batch0.json release/sample_data