]>
Commit | Line | Data |
---|---|---|
235217d2 MT |
1 | #!/bin/bash |
2 | ||
3 | # Simply import all files from this directory that | |
4 | # begin with functions-*. | |
5 | ||
6 | BASEDIR=$(dirname ${BASH_SOURCE[0]}) | |
7 | ||
8 | for file in ${BASEDIR}/functions-*; do | |
9 | # Avoid infinite loop when importing this file again | |
10 | [ "$(basename ${file})" = "functions-common" ] && continue | |
11 | ||
12 | . ${file} | |
13 | done | |
14 |