From e4106e34a1ea340fa2326d8cf3ea59ccf61bd67e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 22 Jun 2015 13:56:27 -0400 Subject: [PATCH] put back build replacements, don't know how I lost those --- scripts/zmdc.pl.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/zmdc.pl.in b/scripts/zmdc.pl.in index feb08f8f2..3284674fe 100644 --- a/scripts/zmdc.pl.in +++ b/scripts/zmdc.pl.in @@ -219,7 +219,7 @@ package ZMServer; use strict; use bytes; -use lib '/usr/share/perl/5.20.2'; # Include custom perl install path +@EXTRA_PERL_LIB@ use ZoneMinder; use POSIX; use Socket; @@ -857,10 +857,10 @@ sub killAll my $delay = shift; sleep( $delay ); my $killall; - if ( 'linux' eq 'BSD' ) + if ( '@HOST_OS@' eq 'BSD' ) { $killall = 'killall -'; - } elsif ( 'linux' eq 'solaris' ) { + } elsif ( '@HOST_OS@' eq 'solaris' ) { $killall = 'pkill -'; } else { $killall = 'killall -q -s ';