how to setenv using Bourne .sh

Aiza aiza21 at
Sat Jul 10 02:53:22 UTC 2010

Trying the set the pkg_add environment variable PKGDIR using this

setenv PKGDIR="/usr/packages"  and get this error message
setenv: Syntax Error.

man setenv is useless.

The question is how do I set a environment variable using the default 
freebsd shell?

More information about the freebsd-questions mailing list