Project

General

Profile

« Previous | Next » 

Revision 5039

import_all: Pass any args, such as vars, through to with_all

View differences:

import_all
7 7
    local selfDir="$(dirname -- "$self")"
8 8
    
9 9
    if test "${BASH_LINENO[1]}" = 0; then # was run without initial "."
10
        echo "Usage: . $self (note initial \".\")"|fold -s >&2
10
        echo "Usage: . $self [vars...] (note initial \".\")"|fold -s >&2
11 11
        return 2
12 12
    fi
13 13
    
14
    . "$selfDir/with_all" import
14
    . "$selfDir/with_all" import "$@"
15 15
}
16 16
import_all_main "$@"

Also available in: Unified diff