Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903581

Typo in make file in pandoc binary detection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg7.4
    • None
    • tools
    • None

      The make/Defs.gmk tries to detect the pandoc binary:

      PANDOC := $(shell if [ -r /usr/bin/pandoc ]; then \
      echo /usr/bin/pandoc ; \
      elif [ -r /usr/local/bin/pandoc ]; then \
      echo /usr/local/bin/pandoc ; \
      elif [ -r /opt/homebrew/bin/tidy ]; then \
      echo /opt/homebrew/bin/pandoc ; \
      else \
      echo /bin/echo "pandoc not available" ; \
      fi )

      That elif statement appears to have a typo, it's checking for the presence of /opt/homebrew/bin/tidy instead of /opt/homebrew/bin/pandoc

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: