fix npm progress pid

This commit is contained in:
AJ ONeal 2018-06-28 15:21:33 -06:00
parent cbf8910e3e
commit cc6f6fc537
1 changed files with 2 additions and 2 deletions

View File

@ -200,11 +200,11 @@ pushd $TELEBIT_TMP >/dev/null
else
echo -n "."
fi
$tmp_npm install >/dev/null 2>/dev/null &
$tmp_npm install & #>/dev/null 2>/dev/null &
tmp_npm_pid=$!
while $tmp_npm_pid; do
sleep 2
kill -s 0 $tmp_npm_pid && $tmp_npm_pid="" || true
kill -s 0 $tmp_npm_pid || tmp_npm_pid=""
echo -n "."
done
popd >/dev/null