config-bash/libs/basedir.bash
2013-04-24 16:58:31 +02:00

6 lines
72 B
Bash
Executable File

#!/bin/bash
function basedir() {
echo $( cd $(dirname $0) && pwd )
}