| 1 | #!/bin/bash |
| 2 | |
| 3 | #For more information, please see stats.sh |
| 4 | #This exists for people who type bbstats.sh instead of stats.sh |
| 5 | |
| 6 | pushd . > /dev/null |
| 7 | DIR="${BASH_SOURCE[0]}" |
| 8 | while [ -h "$DIR" ]; do |
| 9 | cd "$(dirname "$DIR")" |
| 10 | DIR="$(readlink "$(basename "$DIR")")" |
| 11 | done |
| 12 | cd "$(dirname "$DIR")" |
| 13 | DIR="$(pwd)/" |
| 14 | popd > /dev/null |
| 15 | |
| 16 | #DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/" |
| 17 | |
| 18 | "$DIR"stats.sh $@ |