summaryrefslogtreecommitdiff
path: root/zshfunc/buildd-start
blob: 6d35916a04904a160d1b19900ea343cf46ea1813 (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
}