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