https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192449

--- Comment #11 from Eir Nym <[email protected]> ---
corrected script.

MAKECONF_OSVERSION=`/bin/cat /usr/include/sys/param.h | grep "^#define
__FreeBSD_version" | cut -d\  -f 3 | cut -f 1`
MAKECONF_UNAME_R=`/bin/cat /usr/src/release/doc/share/xml/release.ent | grep
"release.branch" | cut -d\" -f 2`
MAKECONF_UNAME_V=`/bin/cat /usr/src/release/doc/share/xml/release.ent | grep
"release.branch" | cut -d\" -f 2`
echo >> /etc/make.conf
echo "UNAME_R=\"${MAKECONF_UNAME_R}\"" >> /etc/make.conf
echo "UNAME_V=\"${MAKECONF_UNAME_V}\"" >> /etc/make.conf
echo "OSVERSION=\"${MAKECONF_OSVERSION}\"" >> /etc/make.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"

Reply via email to