1 This patch is needed because the sql script is expecting the which
2 command to return errors on stderr, not stdout and assumes anything
3 on stdout is an actual path. (And since /bin/which starts a new
4 csh, it only checks .cshrc $PATH not current $PATH settings.)
6 --- parallel-20120422/src/sql.orig 2012-12-11 13:21:20.855778203 -0800
7 +++ parallel-20120422/src/sql 2012-12-11 13:22:33.870295549 -0800
9 sub find_command_in_path {
10 # Find the command if it exists in the current path
12 - my $path = `which $command`;
13 + my $path = `/usr/gnu/bin/which $command`;