Add an _os variable than can be used for conditionals in build.sh scripts
This commit is contained in:
parent
6fd05c7a42
commit
96dd8f0a90
@ -58,6 +58,7 @@ CMP=/bin/cmp
|
|||||||
GREP=/bin/grep
|
GREP=/bin/grep
|
||||||
UNIQ=/bin/uniq
|
UNIQ=/bin/uniq
|
||||||
BASENAME=/bin/basename
|
BASENAME=/bin/basename
|
||||||
|
TR=/bin/tr
|
||||||
|
|
||||||
# Groff stuff for manpages
|
# Groff stuff for manpages
|
||||||
NEQN=/usr/local/bin/neqn
|
NEQN=/usr/local/bin/neqn
|
||||||
@ -91,6 +92,8 @@ _infodir=info
|
|||||||
|
|
||||||
tmpdir=/tmp
|
tmpdir=/tmp
|
||||||
|
|
||||||
|
_os=$($UNAME -sr|$SED -e 's/ //g' -e 's/\.//g'|$TR '[A-Z]' '[a-z]')
|
||||||
|
|
||||||
# pkg information.
|
# pkg information.
|
||||||
# The following 3 vars can be used when constructing pkg metadata
|
# The following 3 vars can be used when constructing pkg metadata
|
||||||
# Override as necessary.
|
# Override as necessary.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user