summaryrefslogtreecommitdiff
path: root/zshfunc/buildd-start
blob: 14709ed50fa07562297ccb26bb1ff72910afb0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
buildd-start() {
	local need_sudo

	if [ -r ~buildd ] ; then
		need_sudo=""
	else
		need_sudo="sudo"
	fi

	$need_sudo find ~buildd/ -maxdepth 1 -name NO-DAEMON-PLEASE -group adm -ls | grep NO-DAEMON-PLEASE && sudo rm -v ~buildd/NO-DAEMON-PLEASE
}