Skip to content

Commit

Permalink
The env command is used to include the user's PATH environment variable.
Browse files Browse the repository at this point in the history
Since the environment isn't preserved with `sudo make install`, `GO ?= go` in
the podman Makefile (commit: d3cd5098f0abb54279ce4abe594d309e2bc027b0)
will not have a value, causing the command to fail.

Fixes: containers/podman#24913
Signed-off-by: James Flowers <[email protected]>
Helped-by: H Dub <[email protected]>
  • Loading branch information
James Flowers committed Jan 23, 2025
1 parent 9a8a594 commit 4408c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ First, ensure that the `go version` that is found first on the $PATH is 1.16.x o
git clone https://github.com/containers/podman/
cd podman
make BUILDTAGS="selinux seccomp" PREFIX=/usr
sudo make install PREFIX=/usr
sudo env PATH=$PATH make install PREFIX=/usr
```

#### Build Tags
Expand Down

0 comments on commit 4408c41

Please sign in to comment.