Salome HOME
fix a bug with 'test -n' option
[tools/install.git] / config_files / Python-2.3.4.sh
index 23f68b08f4f1c535ac7152b529bb1c8195933dda..3d5b8b8ec6931ffb5a40ab190bc359ca0afe6cc2 100755 (executable)
@@ -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.3.4 it is equal to 20304
   ver=`python -V 2>&1`