hg: bsd-port/bsd-port/hotspot: . OpenBSD nm(1) doesn't have -U or -j, so provide an OpenBSD specific
Christos Zoulas
christos at zoulas.com
Mon May 5 18:09:56 UTC 2014
On May 5, 1:27pm, jkim at FreeBSD.org (Jung-uk Kim) wrote:
-- Subject: Re: hg: bsd-port/bsd-port/hotspot: . OpenBSD nm(1) doesn't have -
| > +OS_NAME=`uname -s` +BSD_OS=${OS_NAME##${OS_NAME%BSD}} + +if [
| > "$BSD_OS" == "BSD" ] ; then $NM $* \ | awk '{ if ($2 != "U") if ($3
| > ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
Please:
1. use $() instead of ``.
2. use "$@" instead of $*
christos
More information about the bsd-port-dev
mailing list