source: common/progress_bar.sh@ a36805d

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

Avoided recursion in progress_bar.sh.
The make PID test need be fixed yet.

  • Property mode set to 100755
File size: 161 bytes
Line 
1#!/bin/bash
2
3# $Id$
4
5set -e
6
7[[ -z $1 ]] && exit
8[[ -z $2 ]] && exit
9
10if [ ! -f $1 ] ; then
11 while [ -d /proc/$2 ] ; do
12 echo -n "$2 "
13 sleep 1
14 done
15fi
Note: See TracBrowser for help on using the repository browser.