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
/
graphviz-2.2.1.sh
diff --git
a/config_files/graphviz-2.2.1.sh
b/config_files/graphviz-2.2.1.sh
index a3880fb69d6a2ec792a02dec237bd5dfca0f679b..e2302c70fd6982179f74627ab140c33da70b9ae9 100755
(executable)
--- a/
config_files/graphviz-2.2.1.sh
+++ b/
config_files/graphviz-2.2.1.sh
@@
-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