summaryrefslogtreecommitdiff
path: root/ACE/MPC/mpc.pl
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2010-02-24 20:20:21 +0000
commit035b47c1a6985e2b884182ab0f3bb1afa714a48f (patch)
tree48d75721f242b7a0eb4398a65b672a152bdaa37f /ACE/MPC/mpc.pl
parenta3894e5127aa8cf1892e717ab30f02e053cdb482 (diff)
downloadATCD-ACE+TAO+CIAO-5_7_6_NGC_Patches.tar.gz
Diffstat (limited to 'ACE/MPC/mpc.pl')
-rwxr-xr-xACE/MPC/mpc.pl46
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));