source:
common/progress_bar.sh@
5faab22
Last change on this file since 5faab22 was 5faab22, checked in by , 18 years ago | |
---|---|
|
|
File size: 159 bytes |
Rev | Line | |
---|---|---|
[a858a78] | 1 | #!/bin/bash |
2 | ||
3 | # $Id$ | |
4 | ||
5 | set -e | |
6 | ||
[a36805d] | 7 | [[ -z $1 ]] && exit |
8 | [[ -z $2 ]] && exit | |
9 | ||
[a858a78] | 10 | if [ ! -f $1 ] ; then |
[a36805d] | 11 | while [ -d /proc/$2 ] ; do |
[5faab22] | 12 | echo -n "." |
[a36805d] | 13 | sleep 1 |
14 | done | |
[a858a78] | 15 | fi |
Note:
See TracBrowser
for help on using the repository browser.