MahiroOS-jhalfs/common/progress_bar.sh
2006-06-01 21:09:55 +00:00

15 lines
159 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 "."
sleep 1
done
fi