ubuntuusers.de

Unbenannt

Autor:
bmhm
Datum:
25. Januar 2009 21:13
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
$ cat /etc/pbuilder/buildd-config.sh 
# 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
}