1
## 07_464867_move_executables.patch by Michael Banck <mbanck@debian.org>
3
## All lines beginning with `## DP:' are a description of the patch.
4
## DP: Add /usr/lib/psi to the $PATH so that the moved executables are found.
6
## DP: <URL:http://bugs.debian.org/464867>
7
--- psicode-3.4.0.orig/src/bin/psi3/runcmd.cc
8
+++ psicode-3.4.0/src/bin/psi3/runcmd.cc
10
void runcmd(int *errcod, char *cmd)
13
+ /* Debian places the helper executables into /usr/lib/psi */
14
+ char *path = getenv("PATH");
15
+ strcat(path, ":/usr/lib/psi");
20
*errcod = WEXITSTATUS(i);