Permalink
Browse files

Merge branch 'cdpath_fix' of ../joshua

  • Loading branch information...
2 parents 1e4049f + 41ceaa5 commit 5497fb26121f709a38e4dbe6b523470a422ebf22 @mjpost mjpost committed Oct 17, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/training/pipeline.pl
@@ -32,6 +32,11 @@ BEGIN
use CachePipe;
# use Thread::Pool;
+# Hadoop uses a stupid hacker trick to change directories, but (per Lane Schwartz) if CDPATH
+# contains ".", it triggers the printing of the directory, which kills the stupid hacker trick.
+# Thus we undefine CDPATH to ensure this doesn't happen.
+delete $ENV{CDPATH};
+
my $HADOOP = $ENV{HADOOP};
my $THRAX = "$JOSHUA/thrax";

0 comments on commit 5497fb2

Please sign in to comment.