Revision 9854
Added by Aaron Marcuse-Kubitza over 11 years ago
util.run | ||
---|---|---|
6 | 6 |
if false; then #### run script template: |
7 | 7 |
#!/bin/bash -e |
8 | 8 |
. "$(dirname "${BASH_SOURCE[0]}")"/path/to/util.run or file_including_util.run |
9 |
. "$(dirname "${BASH_SOURCE[0]}")"/other_includes
|
|
9 |
.rel other_includes
|
|
10 | 10 |
|
11 | 11 |
cmd() |
12 | 12 |
{ |
... | ... | |
17 | 17 |
} |
18 | 18 |
fi #### |
19 | 19 |
|
20 |
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/make.sh |
|
21 | 20 |
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/util.sh |
21 |
.rel ../sh/make.sh |
|
22 | 22 |
|
23 | 23 |
if self_not_included; then |
24 | 24 |
|
Also available in: Unified diff
*{.sh,run}: use simpler .rel() instead of `. "$(dirname "${BASH_SOURCE0}")"/...` for relative includes