Manuel,
It seems my 'free' time has been allocated for me.. (at least for the next day). I was able to come up with this work-around for progress-bar.sh I won't have time to fully test this out but it looks ok, could you though this code into the svn and test it. This replaces fuser completely in the script.

---cut---
makePID=$(fuser -v . 2>&1 | grep make)
makePID=$(echo $makePID | cut -d" " -f2)
---end cut---

mypid=$$
  # A small ugly.. make is my parent (not root), get its PID
makePID=`(cat /proc/$mypid/stat) | cut -d " " -f5`

***
Strictly speaking I am testing the process group id (from man /proc) but that seems to work

  George
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to