From a3967bb7811ffffc0fea3515b1c9f33132d4d24d Mon Sep 17 00:00:00 2001 From: Jean-Michel Picod Date: Thu, 14 Dec 2023 18:08:15 +0100 Subject: [PATCH] OSX doesn't support long options --- tools/gen_key_materials.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gen_key_materials.sh b/tools/gen_key_materials.sh index 3e9b3c29..c248f768 100755 --- a/tools/gen_key_materials.sh +++ b/tools/gen_key_materials.sh @@ -234,8 +234,8 @@ generate_new_batch () { -extensions "fido_key_ext" # Force symlink to the latest batch - ln --symbolic --force "${opensk_cert_name}.pem" crypto_data/opensk_cert.pem - ln --symbolic --force "${opensk_key}" crypto_data/opensk.key + ln -s -f "${opensk_cert_name}.pem" crypto_data/opensk_cert.pem + ln -s -f "${opensk_key}" crypto_data/opensk.key } if [ "X${1}" != "X" ]