Craig A. Berry [Fri, 24 Aug 2007 20:31:14 +0000 (20:31 +0000)]
p4raw-id: //depot/perl@31751
### if something went wrong with determining the out
### path, don't go deleting stuff.. might be Really Bad
my $out_re = quotemeta( $OutDir );
-
- # Remove the directory terminator from regex
- my $out_re = s/\\\]// if IS_VMS;
+ $out_re =~ s/\\(>|\])\z// if IS_VMS; # zap trailing bracket
if( $ae->extract_path !~ /^$out_re/ ) {
ok( 0, "Extractpath WRONG (".$ae->extract_path.")");