Fix `bin/list-all` …

Also, use `grep -v` (-v: Invert match) to remove the `topaz-dev` from
the results.

Fixes #142.
上级 bfaf4f20
......@@ -10,7 +10,7 @@ list_versions() {
# This sed command was a quick and dirty solution to remove topaz-dev from
# the version list, since it doesn't exist
"$(ruby_build_path)" --definitions | paste -sd " " - | sed "s|topaz-dev||g"
"$(ruby_build_path)" --definitions | grep -v "topaz-dev" | paste -sd " " -
}
list_versions
list_versions 2> /dev/null
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册