Project

General

Profile

« Previous | Next » 

Revision 9659

inputs/GBIF/raw_occurrence_record/run: herbaria_filter/make(): if remaking, turn off remake mode after doing this target's rm operations, so that prerequisite targets are not also remade

View differences:

inputs/GBIF/raw_occurrence_record/run
76 76
{
77 77
	echo_func; set_make_vars
78 78
	
79
	use_local_remote
80
	local table="$target_stem"
81
	if remaking; then mk_drop|mysql_ANSI; remake=; fi
82
	
79 83
	local parts=(ih plant_fraction)
80 84
	for part in "${parts[@]}"; do herbaria_filter.$part.csv_/make; done
81 85
	
82
	use_local_remote
83
	local table="$target_stem"
84
	if remaking; then mk_drop|mysql_ANSI; fi
85 86
	(benign_error=1 mysql <<'EOF'
86 87
CREATE TABLE `herbaria_filter` (
87 88
 `acronym` varchar(255) NOT NULL PRIMARY KEY

Also available in: Unified diff