diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:43:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:43:21 +0000 |
commit | 0bdb089380893d6d300f9a715aab0db0a7f718ef (patch) | |
tree | 3a564777bb206365223137abb1717ab0a0e868bc /debputy.sh | |
parent | Adding debian version 0.1.34. (diff) | |
download | debputy-0bdb089380893d6d300f9a715aab0db0a7f718ef.tar.xz debputy-0bdb089380893d6d300f9a715aab0db0a7f718ef.zip |
Merging upstream version 0.1.35.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debputy.sh')
-rwxr-xr-x | debputy.sh | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,11 +1,18 @@ #!/bin/sh -DEBPUTY_PATH="$(dirname "$(readlink -f "$0")")/src" +DEBPUTY_ROOT="$(dirname "$(readlink -f "$0")")" +DEBPUTY_PATH="${DEBPUTY_ROOT}/src" +DEBPUTY_DH_LIB="${DEBPUTY_ROOT}/lib" if [ -z "${PYTHONPATH}" ]; then PYTHONPATH="${DEBPUTY_PATH}" else PYTHONPATH="${DEBPUTY_PATH}:${PYTHONPATH}" fi +if [ -z "${PERL5LIB}" ]; then + PERL5LIB="${DEBPUTY_DH_LIB}" +else + PERL5LIB="${DEBPUTY_DH_LIB}:${PERL5LIB}" +fi -export PYTHONPATH +export PYTHONPATH PERL5LIB python3 -m debputy.commands.debputy_cmd "$@" |