gaboshlib/g_calc.sh aktualisiert
This commit is contained in:
parent
5a06c3364b
commit
bd3f476d09
@ -3,7 +3,7 @@ function g_calc {
|
||||
# Use bc in backround for multiple bc's running much faster
|
||||
if [ -z "${g_bc_running}" ]
|
||||
then
|
||||
g_rnd=$RANDOM
|
||||
g_rnd=$$
|
||||
mkdir -p ${g_tmp}/${g_rnd}
|
||||
[ -p ${g_tmp}/${g_rnd}/bc-in ] || mkfifo ${g_tmp}/${g_rnd}/bc-in
|
||||
[ -p ${g_tmp}/${g_rnd}/bc-out ] || mkfifo ${g_tmp}/${g_rnd}/bc-out
|
||||
|
Loading…
Reference in New Issue
Block a user