Merge pull request #39 from xbeaudouin/fix_distro_freebsd

Add FreeBSD detection to distro script
This commit is contained in:
Tony Murray
2016-08-01 11:26:27 -05:00
committed by GitHub
+3
View File
@@ -86,6 +86,9 @@ elif [ "${OS}" = "Darwin" ] ; then
if [ -f /usr/bin/sw_vers ] ; then
OSSTR=`/usr/bin/sw_vers|grep -v Build|sed 's/^.*:.//'| tr "\n" ' '`
fi
elif [ "${OS}" = "FreeBSD" ] ; then
OSSTR=`/usr/bin/uname -mior`
fi
echo ${OSSTR}