Commit 967ad953 authored by Mike Hibler's avatar Mike Hibler

Trivial nit: fix check for FreeBSD to look for multiple digits.

parent 305d1557
......@@ -6,7 +6,7 @@
# KEYWORD: shutdown
# On FreeBSD 6.X we need to wrap the wrapper with daemon to prevent HUP signal
fbsdvers=`uname -v | sed -e 's/FreeBSD \([0-9]\).*/FreeBSD\1/'`
fbsdvers=`uname -v | sed -e 's/FreeBSD \([0-9][0-9]*\).*/FreeBSD\1/'`
# Version 5.X uses a different name for the wrapper. Silly.
/usr/local/bin/mysql -V | egrep -q -s 'Distrib 5.'
......
#
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -45,7 +45,7 @@ FS_SCRIPTS = arplock-opsfs.sh
TIP_SCRIPTS =
ifeq ($(SYSTEM),FreeBSD)
FBSDVERSION := $(shell uname -v | sed -e 's/FreeBSD \([0-9]\).*/FreeBSD\1/')
FBSDVERSION := $(shell uname -v | sed -e 's/FreeBSD \([0-9][0-9]*\).*/FreeBSD\1/')
ifneq ($(FBSDVERSION),FreeBSD4)
ifeq ($(WINSUPPORT),1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment