Salome HOME
fix a bug with 'test -n' option
[tools/install.git] / config_files / graphviz-2.2.1.sh
index a3880fb69d6a2ec792a02dec237bd5dfca0f679b..e2302c70fd6982179f74627ab140c33da70b9ae9 100755 (executable)
@@ -3,7 +3,7 @@
 check_version()
 {
 isdot=`which dot 2>/dev/null`
-if [ -n isdot ]; then
+if [ -n "$isdot" ]; then
   ver=`dot -V 2>&1 | awk '{print $3}'`
   if [ "$ver" == "2.2.1" ]; then
     return 0