From a8b8f15d9aa3a9b311c7618e90b0b10234d78bc6 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Thu, 15 Aug 2013 19:06:04 +0200 Subject: Force tilde expansion prior to setting PYTHONPATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- watch-bz | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/watch-bz b/watch-bz index d098c5b..a7c177c 100755 --- a/watch-bz +++ b/watch-bz @@ -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) -- cgit