From 3c992490a373c7500cf9f6fd4311bc54b204be3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:06:03 -0300 Subject: [PATCH] fix: ensure the output directory doesn't exist See https://github.com/Layr-Labs/eigensdk-go/issues/388 --- kurtosis_package/keys.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kurtosis_package/keys.star b/kurtosis_package/keys.star index 0a7f6dec..3d38c754 100644 --- a/kurtosis_package/keys.star +++ b/kurtosis_package/keys.star @@ -35,7 +35,7 @@ def generate_all_keys(plan, context, keys): def generate_keys(plan, egnkey_service_name, key_type, artifact_name): output_dir = "/_output" - cmd = "set -e ; rm -rf {output} && mkdir -p {output} && \ + cmd = "set -e ; rm -rf {output} && \ egnkey generate --key-type {type} --num-keys 1 --output-dir {output} ; \ cat {output}/password.txt | tr -d '\n'".format( output=output_dir, type=key_type