DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

Author: Anton Bracke

Software engineering student from Germany. Loves programming in PHP, JS and sometimes C.