Project

General

Profile

« Previous | Next » 

Revision 14775

bugfix: lib/runscripts/table.run: srcs: missing []

View differences:

trunk/lib/runscripts/table.run
46 46
map_table="\"~$table.map\"" # sort after other tables to avoid clutter
47 47

  
48 48
srcs=($(output_data=1 table_make list_srcs))
49
srcs=("${srcs/#/$datasrc_dir/}") # empty str at start (/#) -> $datasrc_dir/
49
srcs=("${srcs[@]/#/$datasrc_dir/}") # empty str at start (/#) -> $datasrc_dir/
50 50
_1st_src="$(echo1 "${srcs[@]}")"
51 51

  
52 52
header() { echo_func; : "${1:?}"; head -1 "$1"; }

Also available in: Unified diff