Revision 11359
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/util.run | ||
---|---|---|
53 | 53 |
wrap_fn="$top_script" # usage: sudo "$wrap_fn" fn ... |
54 | 54 |
|
55 | 55 |
# usage: to_top_file cmd... |
56 |
function to_top_file() { echo_func; stdout="$top_file" to_file; } |
|
56 |
function to_top_file() { echo_func; stdout="$top_file" to_file "$@"; }
|
|
57 | 57 |
alias to_top_file='"to_top_file" ' # last space alias-expands next word |
58 | 58 |
|
59 | 59 |
,() # usage: .../run , cmd1 cmd2 ... (like `make cmd1 cmd2 ...`) |
Also available in: Unified diff
bugfix: lib/runscripts/util.run: to_top_file(): need to pass "$@" to to_file