summaryrefslogtreecommitdiff
path: root/mpc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'mpc.pl')
-rwxr-xr-xmpc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpc.pl b/mpc.pl
index d04c4b25..274b442c 100755
--- a/mpc.pl
+++ b/mpc.pl
@@ -42,5 +42,5 @@ sub getBasePath {
# Main Section
# ************************************************************
-my $driver = new Driver($basePath, $baseName);
+my $driver = new Driver($basePath, basename($0));
exit($driver->run(@ARGV));