vars 511 B

1234567891011121314151617181920
  1. # -*- mode:sh -*-
  2. if [[ -d /srv/security-master.debian.org ]]; then
  3. functionname=security-master.debian.org
  4. confpart=debian-security
  5. else
  6. functionname=ftp-master.debian.org
  7. confpart=debian
  8. fi
  9. base=/srv/${functionname}
  10. masterdir=${base}/dak/
  11. export configdir=${configdir:-${masterdir}/config/${confpart}/}
  12. # Lock for deploying new code - does not use the pre-defined lockdir!
  13. LOCK_DEPLOY="${base}/lock/deploy"
  14. # And get all the tons of other variables
  15. source ${configdir}/../${confpart}/vars