MahiroOS-jhalfs/common/progress_bar.sh
Manuel Canales Esparcia a36805ddb1 Avoided recursion in progress_bar.sh.
The make PID test need be fixed yet.
2006-06-01 21:08:49 +00:00

15 lines
161 B
Bash
Executable file

#!/bin/bash
# $Id$
set -e
[[ -z $1 ]] && exit
[[ -z $2 ]] && exit
if [ ! -f $1 ] ; then
while [ -d /proc/$2 ] ; do
echo -n "$2 "
sleep 1
done
fi