summaryrefslogtreecommitdiff
path: root/modules/Parser.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2002-12-12 12:18:29 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2002-12-12 12:18:29 +0000
commit551214b8adc66b2d0c6f82d4f71aee193d75b403 (patch)
tree1dde00b89439708814efd77c55197606a501aa2d /modules/Parser.pm
parent79830b387a1b253f144abcb996f9072b1ac6786a (diff)
downloadMPC-551214b8adc66b2d0c6f82d4f71aee193d75b403.tar.gz
ChangeLogTag: Thu Dec 12 06:18:02 2002 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Parser.pm')
-rw-r--r--modules/Parser.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/Parser.pm b/modules/Parser.pm
index 7040b1f8..40f46ec8 100644
--- a/modules/Parser.pm
+++ b/modules/Parser.pm
@@ -31,7 +31,7 @@ sub cd {
my($self) = shift;
my($dir) = shift;
my($status) = chdir($dir);
- if ($status) {
+ if ($status && $dir ne '.') {
if ($dir =~ /^\// || $dir =~ /^[A-Za-z]:/) {
$cwd = $dir;
}