Project

General

Profile

« Previous | Next » 

Revision 11676

bugfix: inputs/input.Makefile: sql/install: exit on error by using `set -o pipefail`

View differences:

input.Makefile
261 261

  
262 262
# Must come before %/install to override it
263 263
sql/install: $(dbExports)
264
	($(inDatasrc); cat $+|pg_dump_limit; $(if $(wildcard\
264
	set -o pipefail; ($(inDatasrc); cat $+|pg_dump_limit; $(if $(wildcard\
265 265
grants.sql),cat grants.sql))|"time" env no_search_path=1 \
266 266
$(bin)/psql_$(if $(debug),verbose,script)_vegbien --set=schema='"$(datasrc)"' \
267 267
$(logInstallRoot)

Also available in: Unified diff