tinkerpop/gremlin — Issue #251: make gremlin.sh run when symlinked
Author: i000
Created: 2011-10-09 13:17:39+00:00
State: open

Currently a symliked gremlin.sh does not find it's libs.

This is easily fixed on linux by replacing the first lines with:

```
#!/bin/bash
script=`readlink -f "$0"`
basedir=`dirname "$script"`
CP=$( echo $basedir/../lib/*.jar . | sed 's/ /:/g')
```