Project

General

Profile

« Previous | Next » 

Revision 3814

cols: Changed value for all columns to '+' so that it wouldn't need to be shell-escaped as '*' was

View differences:

inputs/input.Makefile
194 194
# Src maps cleanup
195 195
ifneq ($(filter maps/.%.last_cleanup,$(MAKECMDGOALS)),)
196 196
maps/.src.%.csv.last_cleanup: maps/src.%.csv
197
	$(bin)/in_place $< $(bin)/cols '*'
197
	$(bin)/in_place $< $(bin)/cols +
198 198
	touch $@
199 199
else
200 200
# Autogen src maps with known table names
bin/cols
13 13
    col_nums = sys.argv[1:]
14 14
    if col_nums == []:
15 15
        raise SystemExit('Usage: '+sys.argv[0]+' col_num... <map >columns_map')
16
    if col_nums[0] == '*': col_nums = None # list_subset() value for all columns
16
    if col_nums[0] == '+': col_nums = None # list_subset() value for all columns
17 17
    else: col_nums = map(int, col_nums) # 0-based
18 18
    
19 19
    # Process map

Also available in: Unified diff