diff options
author | Roy Marples <roy@marples.name> | 2007-04-24 11:29:19 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-24 11:29:19 +0000 |
commit | a44abb9577a3ccb9202b84765d4b4c1746e6963d (patch) | |
tree | 9d0a3df13709385b55dc407a23d3ce94a2b52308 /sh/functions.sh | |
parent | c965f74f46b266987ed635e65fafc9562a7ccff5 (diff) |
We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
Diffstat (limited to 'sh/functions.sh')
-rw-r--r-- | sh/functions.sh | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sh/functions.sh b/sh/functions.sh index 99c937e1..69c73cdc 100644 --- a/sh/functions.sh +++ b/sh/functions.sh @@ -6,22 +6,14 @@ RC_GOT_FUNCTIONS="yes" eindent() { - if [ -n "${RC_EBUFFER}" ] ; then - "${RC_LIBDIR}"/bin/eindent - else - RC_EINDENT=$((${RC_EINDENT:-0} + 2)) - [ "${RC_EINDENT}" -gt 40 ] && RC_EINDENT=40 - export RC_EINDENT - fi + RC_EINDENT=$((${RC_EINDENT:-0} + 2)) + [ "${RC_EINDENT}" -gt 40 ] && RC_EINDENT=40 + export RC_EINDENT } eoutdent() { - if [ -n "${RC_EBUFFER}" ] ; then - "${RC_LIBDIR}"/bin/eoutdent - else - RC_EINDENT=$((${RC_EINDENT:-0} - 2)) - [ "${RC_EINDENT}" -lt 0 ] && RC_EINDENT=0 - fi + RC_EINDENT=$((${RC_EINDENT:-0} - 2)) + [ "${RC_EINDENT}" -lt 0 ] && RC_EINDENT=0 return 0 } |