diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-08-15 19:06:04 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-08-15 19:06:04 +0200 |
commit | a8b8f15d9aa3a9b311c7618e90b0b10234d78bc6 (patch) | |
tree | 84f0efd575a63c46f270f8b872ca50feb0b9db18 | |
parent | 73b8aa58d569c089de37c02b6f32feaddd61cdf4 (diff) | |
download | watch-bz-a8b8f15d9aa3a9b311c7618e90b0b10234d78bc6.tar.gz watch-bz-a8b8f15d9aa3a9b311c7618e90b0b10234d78bc6.tar.xz watch-bz-a8b8f15d9aa3a9b311c7618e90b0b10234d78bc6.zip |
Force tilde expansion prior to setting PYTHONPATH
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-x | watch-bz | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -64,7 +64,8 @@ if [ -z "$BUGZILLA" ] || [ -n "${BUGZILLA_ROOT}" ]; then # BUGZILLA_ROOT (path to local repo) should rather be set in ~/.watchbzrc BUGZILLA="${BUGZILLA_ROOT}/bin/bugzilla" PYTHONPATH=${PYTHONPATH:+:${PYTHONPATH}} - export PYTHONPATH="${BUGZILLA_ROOT}${PYTHONPATH}" + # force tilde expansion + eval export PYTHONPATH="${BUGZILLA_ROOT}${PYTHONPATH}" fi # hardcoded for now (note the SEP - OUTPUT_FMT relationship) |