Add an _os variable than can be used for conditionals in build.sh scripts

This commit is contained in:
Tom G. Christensen 2004-04-11 13:02:11 +00:00
parent 6fd05c7a42
commit 96dd8f0a90

View File

@ -58,6 +58,7 @@ CMP=/bin/cmp
GREP=/bin/grep
UNIQ=/bin/uniq
BASENAME=/bin/basename
TR=/bin/tr
# Groff stuff for manpages
NEQN=/usr/local/bin/neqn
@ -91,6 +92,8 @@ _infodir=info
tmpdir=/tmp
_os=$($UNAME -sr|$SED -e 's/ //g' -e 's/\.//g'|$TR '[A-Z]' '[a-z]')
# pkg information.
# The following 3 vars can be used when constructing pkg metadata
# Override as necessary.