[tor-commits] [tor/master] Use double-quotes for regular_mans, not brackets.

nickm at torproject.org nickm at torproject.org
Wed Jun 12 12:58:12 UTC 2013


commit 8c88c75966f834a39786deec6106361f3937563e
Author: dana koch <impatiens at gmail.com>
Date:   Wed Jun 12 22:35:46 2013 +1000

    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.
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1e69ec4..235f19b 100644
--- a/configure.ac
+++ b/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 "==================================";



More information about the tor-commits mailing list