Project

General

Profile

« Previous | Next » 

Revision 12711

lib/runscripts/util.run: fwd(): set default @subdirs (`{.,}*/`)

View differences:

util.run
77 77
# (instead of as args to the same command, the way runscripts do)
78 78
{ echo_func; for cmd in "$@"; do time echo_run "$cmd"; done; }
79 79

  
80
fwd() # usage: subdirs=(...); fwd target args... # or use fwd_self
80
# by default, use all subdirs, including .*
81
if ! isset subdirs; then subdirs=($(enter_top_dir; wildcard. {.,}*/)); fi
82
clog-- echo_vars subdirs
83

  
84
fwd() # usage: [subdirs=(...);] fwd target args... # or use fwd_self
81 85
{
82 86
	echo_func
83 87
	: "${subdirs?}"

Also available in: Unified diff