Revision 14582
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/inputs/input.Makefile | ||
---|---|---|
322 | 322 |
$(exportHeader) |
323 | 323 |
$(cleanup) |
324 | 324 |
define import_install_ |
325 |
(. $(bin)/vegbien_dest; unset schemas; "time" $(nice)\ |
|
325 |
set -o pipefail; (. $(bin)/vegbien_dest; unset schemas; "time" $(nice)\
|
|
326 | 326 |
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*)) |
327 | 327 |
$(if $(filter $(srcTable),$*),($(inDatasrc);\ |
328 | 328 |
echo 'ALTER TABLE "$(datasrc)"."$*" RENAME row_num TO "$*.row_num";')|"time"\ |
Also available in: Unified diff
bugfix: inputs/input.Makefile: $(import_install_): need `set -o pipefail` to enable errexit