Extraction script doesn't work on os x
OpenPublic

Description

The extraction script assumes that readlink supports -e but osx's readlink doesn't.

endobson@yggdrasil () ~/proj/kythe % ./kythe/extractors/bazel/extract.sh .
readlink: illegal option -- e
usage: readlink [-n] [file ...]
endobson created this task.Via WebAug 23 2016, 8:27 AM
endobson added a subscriber: endobson.
salguarnieri added a subscriber: salguarnieri.Via WebDec 5 2016, 11:01 AM

A possible easy solution is to require (and use) greadlink on OS X.

In the meantime, a workaround might be to alias greadlink to readlink such that your shell picks that over the default readlink binary.

salguarnieri triaged this task as "Normal" priority.Via WebDec 5 2016, 11:01 AM
salguarnieri added a project: OS X Build.Via WebDec 8 2016, 5:04 PM

Add Comment