changeset 4350:5ba82f405453

branching: merge wit stable
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 19 Jan 2019 21:41:15 +0100
parents 01f4ee6779d5 (current diff) 33fc61e5e119 (diff)
children 76500b73b1a9 acfd2b1a6176
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testlib/pythonpath.sh	Thu Jan 17 12:37:40 2019 +0100
+++ b/tests/testlib/pythonpath.sh	Sat Jan 19 21:41:15 2019 +0100
@@ -3,8 +3,7 @@
 export SRCDIR="`dirname $TESTDIR`"
 if [ -n "$PYTHONPATH" ]; then
     export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH
-    osname="`uname -o`"
-    if (uname -o | grep -q Msys); then
+    if uname -o | grep -q Msys; then
         export PYTHONPATH="$SRCDIR;$PYTHONPATH"
     else
         export PYTHONPATH=$SRCDIR:$PYTHONPATH