Project

General

Profile

« Previous | Next » 

Revision 11374

bin/with_all: $all: renamed to $hidden_srcs for clarity, since this now just adds the hidden (.*) datasources, rather than always using all datasources

View differences:

with_all
10 10
    
11 11
    # Was run without initial ".", or with insufficient parameters
12 12
    if test "${BASH_LINENO[1]}" = 0 -o "$#" -lt 1; then
13
        echo "Usage: [all=1] [inputs=(inputs/src/ ...)]; . $self make_target \
14
[vars...] (note initial \".\")"|fold -s >&2
13
        echo "Usage: [hidden_srcs=1] [inputs=(inputs/src/ ...)]; . $self \
14
make_target [vars...] (note initial \".\")"|fold -s >&2
15 15
        return 2
16 16
    fi
17 17
    if test ! "${inputs+isset}"; then inputs=(inputs/*/); fi
18
    if test "$all"; then inputs=(inputs/.[^as.]*/ "${inputs[@]}"); fi
18
    if test "$hidden_srcs"; then inputs=(inputs/.[^as.]*/ "${inputs[@]}"); fi
19 19
        # not . .. .svn .archive
20 20
    
21 21
    for input in "${inputs[@]}"; do

Also available in: Unified diff