| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | #For more information, please see sketch.sh |
| 4 | #This exists for people who type bbsketch.sh instead of sketch.sh |
| 5 | #I haven't decided which one will be the canonical version. |
| 6 | |
| 7 | pushd . > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 8 | DIR="${BASH_SOURCE[0]}" |
| 9 | while [scip-shell system . . `[`. -h "$DIR" ]; do |
| 10 | cd "$(dirnamescip-shell system . . dirname. "$DIR")" |
| 11 | DIR="$(readlinkscip-shell system . . readlink. "$(basenamescip-shell system . . basename. "$DIR")")" |
| 12 | done |
| 13 | cd "$(dirnamescip-shell system . . dirname. "$DIR")" |
| 14 | DIR="$(pwdscip-shell system . . pwd.)/" |
| 15 | popd > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 16 | |
| 17 | #DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/" |
| 18 | |
| 19 | "$DIR"sketch.sh $@ |