From bf241558d9714b68e5b3d1823dee3e73e32c487c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 28 Nov 2019 11:02:06 +0300 Subject: Use switch in export.build --- build/export.build | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'build') diff --git a/build/export.build b/build/export.build index a5b0edd..8925c25 100644 --- a/build/export.build +++ b/build/export.build @@ -7,7 +7,11 @@ $out_root/ include openssl/ } -if ($import.target == exe{openssl-agent-pkcs11}) - export $out_root/openssl/exe{openssl-agent-pkcs11} -elif ($import.target == exe{openssl-client}) - export $out_root/openssl/exe{openssl-client} +switch $import.target +{ + case exe{openssl-agent-pkcs11} + export $out_root/openssl/exe{openssl-agent-pkcs11} + + case exe{openssl-client} + export $out_root/openssl/exe{openssl-client} +} -- cgit v1.1