projects
/
p5sagit/local-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
work around backslash issues with Win32 paths in taint test
[p5sagit/local-lib.git]
/
t
/
taint-mode.t
diff --git
a/t/taint-mode.t
b/t/taint-mode.t
index
3561e0c
..
073555a
100644
(file)
--- a/
t/taint-mode.t
+++ b/
t/taint-mode.t
@@
-30,8
+30,7
@@
print $fh <<EOM;
use strict; use warnings;
use local::lib '$dir1';
warn 'using lib dir $dir1', "\n";
-my \$dir = '$dir1';
-if (grep { m{^\\Q\$dir\\E/} } \@INC) {
+if (grep { m{^\\Q$dir1\\E/} } \@INC) {
exit 0;
}
exit 1