Revision 10766
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/util.run | ||
---|---|---|
49 | 49 |
|
50 | 50 |
#### utils |
51 | 51 |
|
52 |
# usage: to_top_file cmd... |
|
53 |
alias to_top_file='stdout="$top_file" to_file ' #last sp alias-expands next word |
|
54 |
|
|
52 | 55 |
,() # usage: .../run , cmd1 cmd2 ... (like `make cmd1 cmd2 ...`) |
53 | 56 |
# treats each of the command-line args as commands the way make does |
54 | 57 |
# (instead of as args to the same command, the way runscripts do) |
Also available in: Unified diff
lib/runscripts/util.run: added to_top_file alias for use with $top_file