Revision 9074
Added by Aaron Marcuse-Kubitza over 11 years ago
import.run | ||
---|---|---|
4 | 4 |
#!/bin/bash -e |
5 | 5 |
. "$(dirname "${BASH_SOURCE[0]}")"/path/to/import.run |
6 | 6 |
|
7 |
import ()
|
|
7 |
import() |
|
8 | 8 |
{ |
9 | 9 |
echo_func |
10 | 10 |
import_cmds |
... | ... | |
15 | 15 |
|
16 | 16 |
if self_not_included; then |
17 | 17 |
|
18 |
import ()
|
|
18 |
import() |
|
19 | 19 |
{ |
20 | 20 |
echo_func |
21 | 21 |
} |
22 | 22 |
|
23 |
export_ ()
|
|
23 |
export_() |
|
24 | 24 |
{ |
25 | 25 |
echo_func |
26 | 26 |
} |
27 | 27 |
|
28 |
all ()
|
|
28 |
all() |
|
29 | 29 |
{ |
30 | 30 |
echo_func |
31 | 31 |
import |
Also available in: Unified diff
*{.sh,run}: removed extra space between function name and (), which is apparently not needed even though `help function` includes it. this greatly improves readability, including when function names are pasted into commit messages!