pkg -oABI fails on amd64 in csh because of $(uname -p)

Besides that, for some time sh(1) is the default shell for root in FreeBSD.
I believe the switch for root from csh to sh was in 14.X so not really "for some time" because from 1.x to 13.X root default shell was csh.

bugzeo yes it's a "$SHELL" thing. the syntax you post is sh syntax which fails if shell is csh. Easy way to tell:
"echo $SHELL"
If it says csh/tcsh then syntax is wrong the "$() construct"

Tell us the output on the system you are trying to upgrade for:
freebsd-version
echo $SHELL
 
Back
Top