From 1b00fe231ed1a2658a939c15525f44cff4d73300 Mon Sep 17 00:00:00 2001 From: batzor <32958247+batzor@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:18:51 +0900 Subject: [PATCH] fix(circom): handle case when parts dont exist --- vendors/circom/circomlib/build/compile_witness_generator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendors/circom/circomlib/build/compile_witness_generator.sh b/vendors/circom/circomlib/build/compile_witness_generator.sh index 67b2a94f7..3b2860e4b 100755 --- a/vendors/circom/circomlib/build/compile_witness_generator.sh +++ b/vendors/circom/circomlib/build/compile_witness_generator.sh @@ -12,7 +12,7 @@ function compile_witness_generator() { cp ../../../iden3_circom/code_producers/src/c_elements/$2/* . echo "Splitting source file into smaller pieces..." - rm part_* + rm -f part_* ./split_tool $1 --output_dir=. -- -std=c++11 -I../../external/llvm-project/clang/staging/include echo "Compiling everything..."