source: common/progress_bar.sh@ 41dfd7c

1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 41dfd7c was 46758a2, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Using fuser instead of pidof to watch that make is alive.

  • Property mode set to 100755
File size: 186 bytes
RevLine 
[a858a78]1#!/bin/bash
2
3# $Id$
4
5set -e
6
[a36805d]7[[ -z $1 ]] && exit
8
[a858a78]9if [ ! -f $1 ] ; then
[46758a2]10 while fuser -v . 2>&1 | grep make >/dev/null ; do
[5faab22]11 echo -n "."
[a36805d]12 sleep 1
[46758a2]13 [[ -f $1 ]] && exit
[a36805d]14 done
[a858a78]15fi
Note: See TracBrowser for help on using the repository browser.