Project

General

Profile

« Previous | Next » 

Revision 4546

input.Makefile: Staging tables installation: $(logInstall*Add): Fixed bug where needed to only add -a flag for tee when tee was actually being used (in verbose mode), not when &> is used instead

View differences:

input.Makefile
193 193
rm_schema: _always
194 194
	echo 'DROP SCHEMA IF EXISTS "$(datasrc)" CASCADE;'|$(psqlAsBien)
195 195

  
196
logInstall = $(if $(log),$(if $(quiet),&>,2>&1|tee )$(1)logs/install.log.sql)
196
logInstall = $(if $(log),$(if $(quiet),&>,2>&1|tee $(2)\
197
)$(1)logs/install.log.sql)
197 198
logInstall* = $(call logInstall,$*/)
198
logInstall*Add = $(call logInstall,-a $*/)# append to log
199
logInstall*Add = $(call logInstall,$*/,-a)# append to log
199 200

  
200 201
# Must come before %/install to override it
201 202
sql/install: $(dbExports)

Also available in: Unified diff