aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-28 08:02:06 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-28 08:03:02 (GMT)
commitbf241558d9714b68e5b3d1823dee3e73e32c487c (patch)
treee68427930a39103d281e6af85c2f3f1947299e39
parent57fc6cb17cd335d15b6d0b55cc6f5e6d2a19f302 (diff)
Use switch in export.buildHEADmaster
-rw-r--r--build/export.build12
1 files changed, 8 insertions, 4 deletions
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}
+}