npryce / adr-tools

Command-line tools for working with Architecture Decision Records
Other
4.63k stars 588 forks source link

Fix adr init on OSX #87

Open jhford-scout24 opened 5 years ago

jhford-scout24 commented 5 years ago

This fixes the error I get when trying to run the init command on osx using either system's bash 3.2 or homebrew's 5.0.7.

Error message was:

$ adr init docs/architecture
/usr/local/Cellar/adr-tools/3.0.0/bin/_adr_dir: line 16: [: too many arguments
doc/adr/0001-record-architecture-decisions.md

Probably more things should be quoted in this codebase.

JaanJah commented 5 years ago

Seems to be duplicate of https://github.com/npryce/adr-tools/pull/80/?