]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use double-quotes for regular_mans, not brackets.
authordana koch <impatiens@gmail.com>
Wed, 12 Jun 2013 12:35:46 +0000 (22:35 +1000)
committerNick Mathewson <nickm@torproject.org>
Wed, 12 Jun 2013 12:58:06 +0000 (08:58 -0400)
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.

configure.ac

index 1e69ec48d2ef88da4c6f8fe4562779900dece941..235f19b4383908bf2ef51cf55435c0a0f372f453 100644 (file)
@@ -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 "==================================";