Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a bug with 'test -n' option
[tools/install.git]
/
config_files
/
Python-2.2.1.sh
diff --git
a/config_files/Python-2.2.1.sh
b/config_files/Python-2.2.1.sh
index 138125e56a9b378e46e745cf083bc36d80dc0973..2ddc754f8fb4cd2d3fa6c4279659cd12dbb97e6d 100755
(executable)
--- a/
config_files/Python-2.2.1.sh
+++ b/
config_files/Python-2.2.1.sh
@@
-6,7
+6,7
@@
if [ -z "$PYTHONHOME" ]; then
return 1
fi
isPython=`which python 2>/dev/null`
-if [ -n
isPython
]; then
+if [ -n
"$isPython"
]; then
# version number is calculated as: <major>*10000+<minor>*100+<release>
# e.g. for Python 2.2.1 it is equal to 20201
ver=`python -V 2>&1`