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-1.9.sh
diff --git
a/config_files/graphviz-1.9.sh
b/config_files/graphviz-1.9.sh
index b047817e79375857cd2897f6f34a2c1bec26dc3e..b28c4bcfc1da9da03db109c7622d8de6403e8022 100755
(executable)
--- a/
config_files/graphviz-1.9.sh
+++ b/
config_files/graphviz-1.9.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" == "1.9" ]; then
return 0