Ver código fonte

Use double-quotes for regular_mans, not brackets.

This is a bashism; on systems where sh is not bash (eg., non-Linux, or
Ubuntu using dash), this breaks with a syntax error. This also doesn't
work properly in bash: only the first item is iterated on.
dana koch 11 anos atrás
pai
commit
8c88c75966
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1469,7 +1469,7 @@ AC_CONFIG_FILES([
 ])
 
 if test x$asciidoc = xtrue && test "$ASCIIDOC" = "none" ; then
-  regular_mans=(doc/tor doc/tor-gencert doc/tor-resolve doc/torify)
+  regular_mans="doc/tor doc/tor-gencert doc/tor-resolve doc/torify"
   for file in $regular_mans ; do
     if ! [[ -f "$srcdir/$file.1.in" ]] || ! [[ -f "$srcdir/$file.html.in" ]] ; then
       echo "==================================";