Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-518

Startupscript fails im there are *.ini files in the current directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11
    • Infrastructure
    • None
    • r821494, FreeBSD

    Description

      Line 123 of /usr/local/bin/couchdb reads:

      for file in `find "$1" -mindepth 1 -maxdepth 1 -type f -name *.ini`; do

      "*.ini" will get expanded to filenames if there in a *.ini file in the current directory.

      for file in `find "$1" -mindepth 1 -maxdepth 1 -type f -name '*.ini'`; do

      (note the quouting) works regardless of the current directory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdornseif Maximillian Dornseif
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: