summaryrefslogtreecommitdiff
path: root/modules/Driver.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-02-16 19:56:16 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-02-16 19:56:16 +0000
commitbf84f8b8982c942d3e357535f05c0c78aa3a3ff9 (patch)
tree4ef8c167caf391ac41dd8bddda88f564f945678d /modules/Driver.pm
parent555e83360bb0f0292652f66e8d4c2acd07662fbb (diff)
downloadMPC-bf84f8b8982c942d3e357535f05c0c78aa3a3ff9.tar.gz
ChangeLogTag: Thu Feb 16 19:53:13 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Driver.pm')
-rw-r--r--modules/Driver.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/Driver.pm b/modules/Driver.pm
index dba90516..82e51b02 100644
--- a/modules/Driver.pm
+++ b/modules/Driver.pm
@@ -275,7 +275,7 @@ sub run {
foreach my $cfile (@{$options->{'input'}}) {
## To correctly reference any pathnames in the input file, chdir to
## its directory if there's any directory component to the specified path.
- my($base) = basename($cfile);
+ my($base) = ($cfile eq '' ? '' : basename($cfile));
if (-d $cfile) {
$base = '';