root/lib/runscripts/import.run @ 8808
1 | 8295 | aaronmk | #!/bin/bash -e
|
---|---|---|---|
2 | |||
3 | if false; then #### run script template: |
||
4 | #!/bin/bash -e
|
||
5 | . "$(dirname "${BASH_SOURCE[0]}")"/path/to/import.run |
||
6 | |||
7 | import ()
|
||
8 | {
|
||
9 | 8463 | aaronmk | echo_func "$@" |
10 | 8295 | aaronmk | import_cmds |
11 | }
|
||
12 | fi #### |
||
13 | |||
14 | . "$(dirname "${BASH_SOURCE[0]}")"/util.run |
||
15 | |||
16 | 8705 | aaronmk | if self_not_included; then |
17 | |||
18 | 8295 | aaronmk | import ()
|
19 | {
|
||
20 | 8463 | aaronmk | echo_func "$@" |
21 | 8295 | aaronmk | }
|
22 | |||
23 | 8804 | aaronmk | export_ ()
|
24 | {
|
||
25 | echo_func "$@" |
||
26 | }
|
||
27 | |||
28 | 8295 | aaronmk | all ()
|
29 | {
|
||
30 | 8463 | aaronmk | echo_func "$@" |
31 | 8295 | aaronmk | import |
32 | 8804 | aaronmk | export_ |
33 | 8295 | aaronmk | }
|
34 | 8705 | aaronmk | |
35 | fi
|