fix npm progress pid
This commit is contained in:
parent
cc6f6fc537
commit
92c1180d0f
|
@ -202,7 +202,7 @@ pushd $TELEBIT_TMP >/dev/null
|
||||||
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 [ -n "$tmp_npm_pid" ]; do
|
||||||
sleep 2
|
sleep 2
|
||||||
kill -s 0 $tmp_npm_pid || tmp_npm_pid=""
|
kill -s 0 $tmp_npm_pid || tmp_npm_pid=""
|
||||||
echo -n "."
|
echo -n "."
|
||||||
|
|
Loading…
Reference in New Issue