Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2010 10:53:17 +0800
From:      Aiza <aiza21@comclark.com>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   how to setenv using Bourne .sh
Message-ID:  <4C37E09D.7000806@comclark.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C37E09D.7000806>