diff options
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r-- | scripts/patchfns.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in index 2e0b9b0..308548a 100644 --- a/scripts/patchfns.in +++ b/scripts/patchfns.in @@ -24,12 +24,15 @@ DB_VERSION=2 : ${QUILT_PC:=.pc} # Support compatibility layer -if [ -r @QUILT@/compat/compatfns ] +if [ -d @QUILT@/compat ] then - source @QUILT@/compat/compatfns + export PATH="@QUILT@/compat:$PATH" + if [ -r @QUILT@/compat/compatfns ] + then + source @QUILT@/compat/compatfns + fi fi -export PATH="@QUILT@/compat:$PATH" unset CDPATH shopt -s dotglob |