Revision 12804
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/runscripts/datasrc_dir.run | ||
---|---|---|
13 | 13 |
{ |
14 | 14 |
begin_target |
15 | 15 |
if remaking; then datasrc_make uninstall; fi |
16 |
prep_try; if ! pg_schema_exists; then # uses $schema |
|
17 |
rethrow |
|
16 |
if ! pg_schema_exists; then # uses $schema |
|
18 | 17 |
datasrc_make schema |
19 | 18 |
datasrc_make sql/install </dev/null |
20 | 19 |
# </dev/null because for datasources w/o SQL files, cat will try to |
21 | 20 |
# read from stdin |
22 |
fi; rethrow
|
|
21 |
fi |
|
23 | 22 |
fwd_self |
24 | 23 |
} |
25 | 24 |
|
trunk/lib/runscripts/table.run | ||
---|---|---|
104 | 104 |
mappings() |
105 | 105 |
{ |
106 | 106 |
begin_target |
107 |
prep_try; public_schema_exists || { rethrow; return 0; }; rethrow
|
|
107 |
public_schema_exists || return 0
|
|
108 | 108 |
if remaking; then in_top_dir rm -f map.csv; fi # remake it |
109 | 109 |
test_ |
110 | 110 |
} |
Also available in: Unified diff
*{.sh,run}: stderr_matches() wrapper calls: removed no longer needed prep_try/rethrow