diff options
Diffstat (limited to 'ACE/MPC/mpc.pl')
-rwxr-xr-x | ACE/MPC/mpc.pl | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ACE/MPC/mpc.pl b/ACE/MPC/mpc.pl new file mode 100755 index 00000000000..33ff7bc5c24 --- /dev/null +++ b/ACE/MPC/mpc.pl @@ -0,0 +1,46 @@ +#! /usr/bin/perl +eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' + & eval 'exec perl -w -S $0 $argv:q' + if 0; + +# ****************************************************************** +# Author: Chad Elliott +# Date: 6/17/2002 +# $Id$ +# ****************************************************************** + +# ****************************************************************** +# Pragma Section +# ****************************************************************** + +require 5.006; + +use strict; +use FindBin; +use File::Spec; +use File::Basename; + +my $basePath = $FindBin::RealBin; +my $baseName = $FindBin::RealScript; +if ($^O eq 'VMS') { + $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); + $basePath = VMS::Filespec::unixify($basePath); +} +unshift(@INC, $basePath . '/modules'); + +require Driver; + +# ************************************************************ +# Subroutine Section +# ************************************************************ + +sub getBasePath { + return $basePath; +} + +# ************************************************************ +# Main Section +# ************************************************************ + +my $driver = new Driver($basePath, Driver::projects()); +exit($driver->run(@ARGV)); |