]> granicus.if.org Git - graphviz/commitdiff
remove bashism from gvmap.sh
authorLaszlo Boszormenyi (GCS) <gcs@debian.org>
Sun, 31 Oct 2021 16:29:05 +0000 (09:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Oct 2021 16:32:41 +0000 (09:32 -0700)
cmd/gvmap/gvmap.sh

index 19fd4f449d6c657289dfa056af3119cf99b924b2..51cb82193d2ba4c65953b1beb1a0748278d07dae 100755 (executable)
@@ -86,7 +86,7 @@ then
   fi
   $LAYOUT -Goverlap=prism $FLAGS1 | gvmap $FLAGS2 | neato -n2 $FLAGS3
 else
-  while (( $# > 0 ))
+  while $(( $# > 0 ))
   do
     if [ -f "$1" ]
     then