tests-always-included / wick

Bash-only IT automation, machine provisioning
Other
69 stars 12 forks source link

build-formula-readme produces no output #94

Closed rk295 closed 8 years ago

rk295 commented 8 years ago

On my mac, bash version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) the script build-formula-readme produces no output beyond the initial README contents:

❯ git lg formulas/awscli/run
* 1a456df - Switching to use /usr/bin/env bash (10 months ago) <Tyler Akins>
* cf860cc - Updating titles for formulas (10 months ago) <Tyler Akins>
* ccef5fc - Adding python-pip and awscli (11 months ago) <Tyler Akins>
❯ ./util/build-formula-readme formulas/awscli/README.md
AWS Cli
=======

❯

Whereas on bash version 4.3.11 it works as expected:

❯ git lg formulas/awscli/run
* 1a456df - Switching to use /usr/bin/env bash (10 months ago) <Tyler Akins>
* cf860cc - Updating titles for formulas (10 months ago) <Tyler Akins>
* ccef5fc - Adding python-pip and awscli (11 months ago) <Tyler Akins>
❯ ./util/build-formula-readme formulas/awscli/README.md
AWS Cli
=======

Installs Amazon's command-line tools.

Depends on `pip`.

Examples

    wickFormula awscli

Returns nothing.

❯ bash --version

p.s. I included the git log to prove I was operating on the same version of the awscli formula ;-)

rk295 commented 8 years ago

Ok, I guess I can close this, it appears to be an issue with tests-always-included/tomdoc.sh#6.