diff --git a/packaging/src/shopify-cli.rb.liquid b/packaging/src/shopify-cli.rb.liquid index 51c3e4d890..af03cae3a3 100644 --- a/packaging/src/shopify-cli.rb.liquid +++ b/packaging/src/shopify-cli.rb.liquid @@ -39,7 +39,7 @@ class ShopifyCli{% if formulaVersion %}AT{{formulaVersion}}{% endif %} < Formula executable_path = "#{libexec}/bin/shopify" FileUtils.move(executable_path, "#{executable_path}-original") executable_content = <<~SCRIPT - #!/usr/bin/env node + #!/usr/bin/env #{libexec}/bin/node process.env.SHOPIFY_RUBY_BINDIR = "#{Formula["ruby"].opt_bin}" process.env.SHOPIFY_HOMEBREW_FORMULA = "shopify-cli{% if formulaVersion %}@{{formulaVersion}}{% endif %}"