From kodeboard, 4 Years ago, written in Bash.
Embed
  1. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

You must login to reply or comment on this code.