Remove dependency on `readlink -f`
Not supported on OSX.
set -e
set -o pipefail
-BASEDIR="$(readlink -f "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )/..")"
+BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd .. && pwd)"
PROFILE="flux-test"
PROFILE_DIR="$BASEDIR/profiles/$PROFILE"
KNOWN_HOSTS="$PROFILE_DIR/.known_hosts"
