Project

General

Profile

« Previous | Next » 

Revision 9854

*{.sh,run}: use simpler .rel() instead of `. "$(dirname "${BASH_SOURCE0}")"/...` for relative includes

View differences:

inputs/GBIF/_MySQL/run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/runscripts/import.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/runscripts/subdir.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/sh/resume_import.sh
3
.rel ../../../lib/runscripts/subdir.run
4
.rel ../../../lib/sh/resume_import.sh
5 5

  
6 6
if self_not_included; then
7 7

  
inputs/GBIF/_MySQL/GBIFPortalDB-2013-02-20.data.sql.run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/runscripts/subdir.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/../../../lib/sh/resume_import.sh
3
.rel ../../../lib/sh/resume_import.sh
4 4

  
5 5
if self_not_included; then
6 6

  
schemas/VegCore/VegCore.pg.sql.run
1 1
#!/bin/bash -e
2 2
# syncs VegCore.ERD.mwb's zip file contents
3 3
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/util.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
4
.rel ../../lib/sh/local.sh
5 5

  
6 6
if self_not_included; then
7 7

  
schemas/VegCore/VegCore.ERD.mwb.run
1 1
#!/bin/bash -e
2 2
# syncs VegCore.ERD.mwb's zip file contents
3 3
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/util.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/archives.sh
5
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
6
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/make.sh
4
.rel ../../lib/sh/archives.sh
5
.rel ../../lib/sh/local.sh
6
.rel ../../lib/sh/make.sh
7 7

  
8 8
if self_not_included; then
9 9

  
run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/lib/runscripts/import.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/local.sh
4
. "$(dirname "${BASH_SOURCE[0]}")"/lib/sh/make.sh
3
.rel lib/sh/local.sh
4
.rel lib/sh/make.sh
5 5

  
6 6
if self_not_included; then
7 7

  
lib/runscripts/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

  
lib/runscripts/datasrc_dir.run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/util.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/local.sh
4
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/db_make.sh
3
.rel ../sh/local.sh
4
.rel ../sh/db_make.sh
5 5

  
6 6
if self_not_included; then
7 7

  
lib/runscripts/table.run
15 15
fi ####
16 16

  
17 17
. "$(dirname "${BASH_SOURCE[0]}")"/import.run
18
. "$(dirname "${BASH_SOURCE[0]}")"/subdir.run
19
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/db_make.sh
18
.rel subdir.run
19
.rel ../sh/db_make.sh
20 20

  
21 21
if self_not_included; then
22 22

  
lib/runscripts/subdir.run
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/util.run
3
. "$(dirname "${BASH_SOURCE[0]}")"/../sh/local.sh
3
.rel ../sh/local.sh
4 4

  
5 5
if self_not_included; then
6 6

  
lib/sh/local.sh
1 1
#!/bin/bash -e
2 2
# links to locally-available resources
3 3
. "$(dirname "${BASH_SOURCE[0]}")"/util.sh
4
. "$(dirname "${BASH_SOURCE[0]}")"/db.sh
5
. "$(dirname "${BASH_SOURCE[0]}")"/sync.sh
4
.rel db.sh
5
.rel sync.sh
6 6

  
7 7
if self_not_included; then
8 8

  
lib/sh/resume_import.sh
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/util.sh
3
. "$(dirname "${BASH_SOURCE[0]}")"/binsearch.sh
4
. "$(dirname "${BASH_SOURCE[0]}")"/make.sh
3
.rel binsearch.sh
4
.rel make.sh
5 5

  
6 6
if self_not_included; then
7 7

  
lib/sh/db_make.sh
1 1
#!/bin/bash -e
2 2
. "$(dirname "${BASH_SOURCE[0]}")"/db.sh
3
. "$(dirname "${BASH_SOURCE[0]}")"/make.sh
3
.rel make.sh
web/links/index.htm.run
1 1
#!/bin/bash -e
2 2
# reformats index.htm for display
3 3
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/util.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
4
.rel ../../lib/sh/local.sh
5 5

  
6 6
if self_not_included; then
7 7

  

Also available in: Unified diff