aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrés Jaimes <andresjv@gmail.com>2025-08-27 11:36:52 +0000
committerBenedict Reuschling <bcr@FreeBSD.org>2025-08-27 11:38:47 +0000
commit25f1ff3ed7598a22ad7a9a11fb9e67bb4329d86e (patch)
tree93fd978afdebbc6a8331a7c30e0d0dbdecedbaa0
parent92dfc0643a55ccd9e5221967de9c125382c3c86b (diff)
Add HUGO_CMD variable for running on mac OS
PR: 288591 Event: Oslo Hackathon 2025
-rw-r--r--documentation/content/en/books/fdp-primer/overview/_index.adoc2
-rw-r--r--documentation/content/pt-br/books/fdp-primer/overview/_index.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc
index 2b72b0c23e..c316176b05 100644
--- a/documentation/content/en/books/fdp-primer/overview/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc
@@ -290,7 +290,7 @@ Repeat until all of the errors are resolved.
+
[source,shell]
....
-$ bmake run USE_RUBYGEMS=YES RUBY_CMD=$(brew --prefix ruby)/bin/ruby
+$ bmake run USE_RUBYGEMS=YES RUBY_CMD="$(brew --prefix ruby)/bin/ruby" HUGO_CMD="$(brew --prefix hugo)/bin/hugo"
....
. Add all the files with `git add .`, then review the diff with `git diff`. For example:
+
diff --git a/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc b/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc
index 3cfbb5b603..605491e080 100644
--- a/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc
+++ b/documentation/content/pt-br/books/fdp-primer/overview/_index.adoc
@@ -276,7 +276,7 @@ Revise a saída e edite os arquivos para corrigir os problemas informados e, em
+
[source, shell]
....
-$ bmake run USE_RUBYGEMS=YES RUBY_CMD=$(brew --prefix ruby)/bin/ruby
+$ bmake run USE_RUBYGEMS=YES RUBY_CMD="$(brew --prefix ruby)/bin/ruby" HUGO_CMD="$(brew --prefix hugo)/bin/hugo"
....
. Adicione todos os arquivos com `git add .`, então revise o diff com `git diff`. Por exemplo:
+