# -*- mode:sh -*-

if [[ -d /srv/security-master.debian.org ]]; then
    functionname=security-master.debian.org
    confpart=debian-security
else
    functionname=ftp-master.debian.org
    confpart=debian
fi

base=/srv/${functionname}
masterdir=${base}/dak/
export configdir=${configdir:-${masterdir}/config/${confpart}/}

# Lock for deploying new code - does not use the pre-defined lockdir!
LOCK_DEPLOY="${base}/lock/deploy"

# And get all the tons of other variables
source ${configdir}/../${confpart}/vars
