Fixes error when looking up documentation introduced when cleaning up lint errors

This commit is contained in:
Bruno Tavares 2015-09-26 00:32:20 -03:00
parent f516cc2dac
commit b09cdfc3e4

View File

@ -2,7 +2,8 @@
list() { list() {
root_dir=$(kickstart root-dir) root_dir=$(kickstart root-dir)
find "$root_dir"/docs -type f | sed -e 's/.md$//' | cut -c "$(wc -c <<<$root_dir/docs/)"- | tr '/' '.' length_of_path=$(wc -m <<<"$root_dir/docs/" | xargs)
find "$root_dir"/docs -type f | sed -e 's/.md$//' | cut -c "$length_of_path-" | tr '/' '.'
} }
show() { show() {