PageRenderTime 77ms CodeModel.GetById 75ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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