From 66089758615895b2d6fa92026e6defa9602fe47e Mon Sep 17 00:00:00 2001
From: Mara Robin B <mara@broda.me>
Date: Fri, 8 Apr 2022 12:13:58 +0200
Subject: [PATCH] [ci] point benchmark script to sub-commands (#5247) (#5289)

---
 polkadot/scripts/run_benches_for_runtime.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/polkadot/scripts/run_benches_for_runtime.sh b/polkadot/scripts/run_benches_for_runtime.sh
index 83f5a3c7a44..9b86424b268 100755
--- a/polkadot/scripts/run_benches_for_runtime.sh
+++ b/polkadot/scripts/run_benches_for_runtime.sh
@@ -39,7 +39,7 @@ done < "${runtime}_pallets"
 rm "${runtime}_pallets"
 
 # Benchmark base weights
-./target/production/polkadot benchmark-overhead \
+! ./target/production/polkadot benchmark overhead \
   --chain="${runtime}-dev" \
   --execution=wasm \
   --wasm-execution=compiled \
-- 
GitLab