1585N/AThis patch is needed because the sql script is expecting the which
1585N/Acommand to return errors on stderr, not stdout and assumes anything
1585N/Aon stdout is an actual path. (And since /bin/which starts a new
1585N/Acsh, it only checks .cshrc $PATH not current $PATH settings.)
1585N/A
1585N/A--- parallel-20120422/src/sql.orig 2012-12-11 13:21:20.855778203 -0800
1585N/A+++ parallel-20120422/src/sql 2012-12-11 13:22:33.870295549 -0800
1585N/A@@ -890,7 +890,7 @@
1585N/A sub find_command_in_path {
1585N/A # Find the command if it exists in the current path
1585N/A my $command = shift;
1585N/A- my $path = `which $command`;
1585N/A+ my $path = `/usr/gnu/bin/which $command`;
1585N/A chomp $path;
1585N/A return $path;
1585N/A }