From dd4a8c90d3e113e89d057707c24442408345e754 Mon Sep 17 00:00:00 2001 From: stan Date: Sun, 15 Dec 2002 14:32:27 +0000 Subject: [PATCH] Appended scope to front of COMMAND_PATH. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@201 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmx10.pl.z | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/zmx10.pl.z b/scripts/zmx10.pl.z index 347c6807d..6a692c188 100755 --- a/scripts/zmx10.pl.z +++ b/scripts/zmx10.pl.z @@ -444,7 +444,7 @@ sub processTask { if ( $instruction eq "start" ) { - $command = COMMAND_PATH."zmdc.pl start zma ".$task->{monitor}; + $command = main::COMMAND_PATH."zmdc.pl start zma ".$task->{monitor}; if ( $task->{limit} ) { addPendingTask( $task ); @@ -452,14 +452,14 @@ sub processTask } elsif( $instruction eq "stop" ) { - $command = COMMAND_PATH."zmdc.pl stop zma ".$task->{monitor}; + $command = main::COMMAND_PATH."zmdc.pl stop zma ".$task->{monitor}; } } elsif( $class eq "alarm" ) { if ( $instruction eq "start" ) { - $command = COMMAND_PATH."zmu --monitor ".$task->{monitor}." --alarm"; + $command = main::COMMAND_PATH."zmu --monitor ".$task->{monitor}." --alarm"; if ( $task->{limit} ) { addPendingTask( $task ); @@ -467,7 +467,7 @@ sub processTask } elsif( $instruction eq "stop" ) { - $command = COMMAND_PATH."zmu --monitor ".$task->{monitor}." --cancel"; + $command = main::COMMAND_PATH."zmu --monitor ".$task->{monitor}." --cancel"; } } print( "Executing command '$command'\n" );