[Bug 288591] [patch] macos process misses hugo_cmd var
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288591] macos process misses hugo_cmd var"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288591] macos process misses hugo_cmd var"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288591] macos process misses hugo_cmd var"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Aug 2025 15:47:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288591
Bug ID: 288591
Summary: [patch] macos process misses hugo_cmd var
Product: Documentation
Version: Latest
Hardware: Any
URL: https://docs.freebsd.org/en/books/fdp-primer/overview/
#mac-os-installation-process
OS: Any
Status: New
Keywords: patch
Severity: Affects Many People
Priority: ---
Component: Books & Articles
Assignee: doc@FreeBSD.org
Reporter: andresjv@gmail.com
Created attachment 262624
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262624&action=edit
adds HUGO_CMD variable
Hello,
This patch fixes an issue in the documentation where the command to run docs
locally –as described under: macOS process, step 6– misses the HUGO_CMD
variable. Without it, the Makefile will look for Hugo in /usr/local, which is
incorrect in macOS:
Makefile extract:
```
LOCALBASE?= /usr/local
RUBY_CMD = ${LOCALBASE}/bin/ruby
HUGO_CMD = ${LOCALBASE}/bin/hugo
```
Also, I added double quotes to the values to prevent word-splitting issues.
Affected pages:
-
https://docs.freebsd.org/en/books/fdp-primer/overview/#mac-os-installation-process
-
https://docs.freebsd.org/pt-br/books/fdp-primer/overview/#mac-os-installation-process
Affected languages:
- en
- pt-br
Please let me know if you have any questions
Thank you,
Andres
--
You are receiving this mail because:
You are the assignee for the bug.