aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2020-07-13 13:18:16 -0400
committerRob Austein <sra@hactrn.net>2020-07-13 13:18:16 -0400
commit69ac7eaae12a51820f01280ad4a487a1c21fc1af (patch)
tree7cd72da4e187d306122b5e7044ffc2ef6db58631
parenta14301091cfd8fda6eef5b637fff15bac2509791 (diff)
Double-brace Ruby format voodoo to get past Python format vodooo.
-rwxr-xr-xscripts/build-homebrew-formula.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-homebrew-formula.py b/scripts/build-homebrew-formula.py
index 852b4b6..c14bfc5 100755
--- a/scripts/build-homebrew-formula.py
+++ b/scripts/build-homebrew-formula.py
@@ -92,7 +92,7 @@ class {classname} < Formula
xy = Language::Python.major_minor_version "python3"
- ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python#{xy}/site-packages"
+ ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python#{{xy}}/site-packages"
resources.each do |r|
r.stage do
@@ -107,7 +107,7 @@ class {classname} < Formula
system "python", *Language::Python.setup_install_args(prefix)
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
- ln_s lib/"python#{xy}/site-packages/cryptech", libexec/"vendor/lib/python#{xy}/site-packages/cryptech"
+ ln_s lib/"python#{{xy}}/site-packages/cryptech", libexec/"vendor/lib/python#{{xy}}/site-packages/cryptech"
share.install "cryptech-alpha-firmware.tar.gz"
lib.install "sw/pkcs11/libcryptech-pkcs11.dylib"