rpm/SPECS/couchdb.spec.in [107:115]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  # -v is a bash 4.2+ feature
  if [[ -v COUCHDB_COOKIE ]]; then
    echo "Using defined COUCHDB_COOKIE value."
    cookie=${COUCHDB_COOKIE}
  else
    echo "Generating random cookie value."
    cookie=$(dd if=/dev/random bs=1 count=38 status=none | base64 | tr -cd [:alnum:])
  fi
  escaped_cookie=$(printf '%s' "$cookie" | sed 's:\\:\\\\:g')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



rpm/SPECS/couchdb.spec.in [118:126]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  # -v is a bash 4.2+ feature
  if [[ -v COUCHDB_COOKIE ]]; then
    echo "Using defined COUCHDB_COOKIE value."
    cookie=${COUCHDB_COOKIE}
  else
    echo "Generating random cookie value."
    cookie=$(dd if=/dev/random bs=1 count=38 status=none | base64 | tr -cd [:alnum:])
  fi
  escaped_cookie=$(printf '%s' "$cookie" | sed 's:\\:\\\\:g')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



