/pbuilder/buildd-config.sh
http://github.com/brinkman83/bashrc · Shell · 16 lines · 11 code · 2 blank · 3 comment · 2 complexity · 48b942cabcc5fcfe94f28538239573ba MD5 · raw file
- # this is the configuration for buildd-pbuilder.
- BASEDIRECTORY=/var/cache/pbuilder/pbuildd/
- MIRROR=ftp.debian.org
- HOOKDIR=/usr/share/doc/pbuilder/examples/pbuildd/hookdir
- ROOTCOMMAND=sudo
- # the following is one sample:
- function waitingroutine () {
- while sleep 1s; do
- if ps ax | grep "x[l]ock"; then
- # if xlock does exist, break from loop
- break
- fi
- done
- }