Permalink
Browse files

check current-dir, at first. refs #19

  • Loading branch information...
1 parent 8d65fb2 commit cabe790c57a6c418973c8ea7f898c81d7803c5a8 @indeyets committed Jun 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/pake/pakeFunction.php
@@ -351,6 +351,7 @@ function pake_which($cmd)
if ($is_windows) {
$win_executable_extensions = explode(';', getenv('PATHEXT'));
+ array_unshift($win_executable_extensions, realpath(getcwd()));
}
$extension = pathinfo($cmd, PATHINFO_EXTENSION);

0 comments on commit cabe790

Please sign in to comment.