1#!/usr/local/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
7pushd . > /dev/null
8DIR="${BASH_SOURCE[0]}"
9while [ -h "$DIR" ]; do
10  cd "$(dirname "$DIR")"
11  DIR="$(readlink "$(basename "$DIR")")"
12done
13cd "$(dirname "$DIR")"
14DIR="$(pwd)/"
15popd > /dev/null
16
17#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/"
18
19"$DIR"sketch.sh $@
20