Changeset 60a5064 for common/progress_bar.sh
- Timestamp:
- 07/16/2006 08:53:37 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e5d0f27
- Parents:
- 120bcdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/progress_bar.sh
r120bcdd r60a5064 22 22 declare -i PREV_SEC=0 23 23 24 makePID=$(fuser -v . 2>&1 | grep make) 25 makePID=$(echo $makePID | cut -d" " -f2) 24 mypid=$$ 25 # A small ugly.. who is my parent *not root 26 makePID=`(cat /proc/$mypid/stat) | cut -d " " -f5` 26 27 27 28 write_or_exit() {
Note:
See TracChangeset
for help on using the changeset viewer.