summaryrefslogtreecommitdiff
path: root/lib/Term/Cap.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Term/Cap.pm')
-rw-r--r--lib/Term/Cap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Term/Cap.pm b/lib/Term/Cap.pm
index 5703405c9d..1e95ec33b6 100644
--- a/lib/Term/Cap.pm
+++ b/lib/Term/Cap.pm
@@ -106,7 +106,7 @@ sub termcap_path { ## private
# $TERMCAP, if it's a filespec
push(@termcap_path, $ENV{TERMCAP})
if ((exists $ENV{TERMCAP}) &&
- (($^O eq 'os2' || $^O eq 'MSWin32')
+ (($^O eq 'os2' || $^O eq 'MSWin32' || $^O eq 'dos')
? $ENV{TERMCAP} =~ /^[a-z]:[\\\/]/i
: $ENV{TERMCAP} =~ /^\//));
if ((exists $ENV{TERMPATH}) && ($ENV{TERMPATH})) {