mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-04-21 19:40:37 +00:00
fix npm progress pid
This commit is contained in:
parent
cbf8910e3e
commit
cc6f6fc537
@ -200,11 +200,11 @@ pushd $TELEBIT_TMP >/dev/null
|
|||||||
else
|
else
|
||||||
echo -n "."
|
echo -n "."
|
||||||
fi
|
fi
|
||||||
$tmp_npm install >/dev/null 2>/dev/null &
|
$tmp_npm install & #>/dev/null 2>/dev/null &
|
||||||
tmp_npm_pid=$!
|
tmp_npm_pid=$!
|
||||||
while $tmp_npm_pid; do
|
while $tmp_npm_pid; do
|
||||||
sleep 2
|
sleep 2
|
||||||
kill -s 0 $tmp_npm_pid && $tmp_npm_pid="" || true
|
kill -s 0 $tmp_npm_pid || tmp_npm_pid=""
|
||||||
echo -n "."
|
echo -n "."
|
||||||
done
|
done
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user