root/trunk/lib/runscripts/import.run @ 14222
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 | 12968 | aaronmk | begin_target |
10 | 8295 | aaronmk | import_cmds |
11 | }
|
||
12 | fi #### |
||
13 | |||
14 | . "$(dirname "${BASH_SOURCE[0]}")"/util.run |
||
15 | 13413 | aaronmk | .rel install.run # provides all()
|
16 | 8295 | aaronmk | |
17 | 8705 | aaronmk | if self_not_included; then |
18 | |||
19 | 9074 | aaronmk | import()
|
20 | 8295 | aaronmk | {
|
21 | 12968 | aaronmk | begin_target |
22 | 8295 | aaronmk | }
|
23 | |||
24 | 9074 | aaronmk | export_()
|
25 | 8804 | aaronmk | {
|
26 | 12968 | aaronmk | begin_target |
27 | 8804 | aaronmk | }
|
28 | |||
29 | 13413 | aaronmk | install() |
30 | 8295 | aaronmk | {
|
31 | 12968 | aaronmk | begin_target |
32 | 13148 | aaronmk | with_rm import |
33 | 12968 | aaronmk | with_rm export_ |
34 | 8295 | aaronmk | }
|
35 | 8705 | aaronmk | |
36 | fi
|