git: 25f1ff3ed7 - main - Add HUGO_CMD variable for running on mac OS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Aug 2025 11:39:20 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/doc/commit/?id=25f1ff3ed7598a22ad7a9a11fb9e67bb4329d86e
commit 25f1ff3ed7598a22ad7a9a11fb9e67bb4329d86e
Author: Andrés Jaimes <andresjv@gmail.com>
AuthorDate: 2025-08-27 11:36:52 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2025-08-27 11:38:47 +0000
Add HUGO_CMD variable for running on mac OS
PR: 288591
Event: Oslo Hackathon 2025
---
documentation/content/en/books/fdp-primer/overview/_index.adoc | 2 +-
documentation/content/pt-br/books/fdp-primer/overview/_index.adoc | 2 +-
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:
+