Project

General

Profile

« Previous | Next » 

Revision 13983

bugfix: bin/import_all: was run without initial "." test: don't exit nonzero because this will close the subshell

View differences:

trunk/bin/import_all
24 24
    if test "${BASH_LINENO[1]}" = 0; then # was run without initial "."
25 25
        echo "usage: (*in subshell*) [version=...] [inputs=(inputs/src/ ...)]; \
26 26
. $self [vars...] (note initial \".\")"|fold -s >&2
27
        return 2
27
        return 0 # not nonzero because this will close the subshell
28 28
    fi
29 29
    : ${version=$(make -s version)}
30 30
    local by_col=${by_col-1} full_import=1

Also available in: Unified diff