Ticket #9053: 0001-Use-double-quotes-for-regular_mans-not-brackets.patch

File 0001-Use-double-quotes-for-regular_mans-not-brackets.patch, 1.0 KB (added by x3j11, 6 years ago)
  • configure.ac

    From f25da28b4a3bb36259114c5386f6489d062b8863 Mon Sep 17 00:00:00 2001
    From: dana koch <impatiens@gmail.com>
    Date: Wed, 12 Jun 2013 22:35:46 +1000
    Subject: [PATCH] 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 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/configure.ac b/configure.ac
    index 1e69ec4..235f19b 100644
    a b AC_CONFIG_FILES([ 
    14691469])
    14701470
    14711471if test x$asciidoc = xtrue && test "$ASCIIDOC" = "none" ; then
    1472   regular_mans=(doc/tor doc/tor-gencert doc/tor-resolve doc/torify)
     1472  regular_mans="doc/tor doc/tor-gencert doc/tor-resolve doc/torify"
    14731473  for file in $regular_mans ; do
    14741474    if ! [[ -f "$srcdir/$file.1.in" ]] || ! [[ -f "$srcdir/$file.html.in" ]] ; then
    14751475      echo "==================================";