config-bash/libs/basedir.bash

6 lines
72 B
Bash
Raw Normal View History

2013-04-24 16:58:31 +02:00
#!/bin/bash
function basedir() {
echo $( cd $(dirname $0) && pwd )
}