HomeFreeBSD

sh: Set PATH envvar after setting HOME in dotfile

Description

sh: Set PATH envvar after setting HOME in dotfile

In single-user mode, all env vars are absent, so exptilde() would not be
able to expand ~ correctly.
Place the lines setting PATH below HOME, so exptilde() would work as
expected.

Sponsored by: The FreeBSD Foundation
Reviewed by: jilles, emaste
Differential Revision: https://reviews.freebsd.org/D27003

(cherry picked from commit fcfa64801a4fe836ff481465ea068e791aa4ce6a)

Details

Provenance
khngAuthored on Oct 26 2021, 2:48 PM
Reviewer
jilles
Differential Revision
D27003: sh: Set PATH envvar after setting HOME in dotfile
Parents
rG000b70f038f4: bhyve: Fix the WITH_BHYVE_SNAPSHOT build
Branches
Unknown
Tags
Unknown