Commit ddb12e2e by Tester

find bin dir relative to bats test dir

parent 85a01065
......@@ -13,7 +13,7 @@ stub_ruby_build() {
}
extract_usage_from() {
local program="../bin/$1"
local program="$BATS_TEST_DIRNAME/../bin/$1"
sed -ne '/^#/!q;s/.//;s/.//;1,4d;p' < "$program"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment