/pbuilder/buildd-config.sh

http://github.com/brinkman83/bashrc · Shell · 16 lines · 11 code · 2 blank · 3 comment · 2 complexity · 48b942cabcc5fcfe94f28538239573ba MD5 · raw file

  1. # this is the configuration for buildd-pbuilder.
  2. BASEDIRECTORY=/var/cache/pbuilder/pbuildd/
  3. MIRROR=ftp.debian.org
  4. HOOKDIR=/usr/share/doc/pbuilder/examples/pbuildd/hookdir
  5. ROOTCOMMAND=sudo
  6. # the following is one sample:
  7. function waitingroutine () {
  8. while sleep 1s; do
  9. if ps ax | grep "x[l]ock"; then
  10. # if xlock does exist, break from loop
  11. break
  12. fi
  13. done
  14. }