Revision 13344
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/runscripts/datasrc_dir.run | ||
---|---|---|
30 | 30 |
{ |
31 | 31 |
begin_target |
32 | 32 |
if remaking; then schema/rm; fi |
33 |
if ! pg_schema_exists; then # uses $schema |
|
33 |
if ! benign_error=1 pg_schema_exists; then # uses $schema
|
|
34 | 34 |
schema/make |
35 | 35 |
datasrc_make sql/install </dev/null |
36 | 36 |
# </dev/null because for datasources w/o SQL files, cat will try to |
trunk/lib/runscripts/table.run | ||
---|---|---|
99 | 99 |
mappings() |
100 | 100 |
{ |
101 | 101 |
begin_target |
102 |
public_schema_exists || return 0 |
|
102 |
benign_error=1 public_schema_exists || return 0
|
|
103 | 103 |
if remaking; then in_top_dir rm -f map.csv; fi # remake it |
104 | 104 |
test_ |
105 | 105 |
} |
Also available in: Unified diff
fix: *{.sh,run}: stderr_matches() callers: added benign_error=1 where needed