root/lib/runscripts/import.run @ 10590
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 | 9074 | aaronmk | import()
|
8 | 8295 | aaronmk | {
|
9 | 8881 | 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 | 9074 | aaronmk | import()
|
19 | 8295 | aaronmk | {
|
20 | 8881 | aaronmk | echo_func |
21 | 8295 | aaronmk | }
|
22 | |||
23 | 9074 | aaronmk | export_()
|
24 | 8804 | aaronmk | {
|
25 | 8881 | aaronmk | echo_func |
26 | 8804 | aaronmk | }
|
27 | |||
28 | 9074 | aaronmk | all()
|
29 | 8295 | aaronmk | {
|
30 | 8881 | aaronmk | echo_func |
31 | 8295 | aaronmk | import |
32 | 8804 | aaronmk | export_ |
33 | 8295 | aaronmk | }
|
34 | 8705 | aaronmk | |
35 | fi
|