basho/riak — Issue #123: bin/riak start does not like cd->pwd
Author: davidmathei
Created: 2012-03-07 10:46:24+00:00
State: open

Not really a big issue. But annoying anyway.

The system I work on does a `pwd` after a `cd `, causing

RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd)

to receive two directory strings separated by white space.

I changed it to

RUNNER_SCRIPT_DIR=$(cd ${0%/*} > /dev/null && pwd)

and it works again.