Browse Source

python: fix to ensure that PYTHON environment variable is not leaking into the sandbox if the target is not including python at all

user/chris/old/ruby
Christian Wiese 15 years ago
parent
commit
9664cf516a
  1. 5
      python/python/parse-config

5
python/python/parse-config

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../python/parse-config
# Copyright (C) 2009 The OpenSDE Project
# Copyright (C) 2009 - 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -21,4 +21,7 @@ if pkginstalled -f python; then
done
export PYTHONPATH
fi
else
# ensure that PYTHON environment variable is not leaking into the sandbox
unset PYTHON
fi

Loading…
Cancel
Save