From 114608045884bb3afbe70ce3687fee08ef5ee296 Mon Sep 17 00:00:00 2001 From: "xavier.beaudouin" Date: Wed, 20 Apr 2016 16:23:16 +0200 Subject: [PATCH] Add FreeBSD detection to distro file --- scripts/distro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/distro b/scripts/distro index 96cbbe75f7..8a2ebd02ef 100755 --- a/scripts/distro +++ b/scripts/distro @@ -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}