Joerg Jaspert pushed to branch deploy at Debian FTP Team / dak
Commits:
-
4aa05acc
by Joerg Jaspert at 2018-04-08T12:20:28+02:00
2 changed files:
Changes:
1 |
-../debian/vars
|
|
\ No newline at end of file |
1 |
+# -*- mode:sh -*-
|
|
2 |
+ |
|
3 |
+if [[ -d /srv/security-master.debian.org ]]; then
|
|
4 |
+ declare -r functionname=security-master.debian.org
|
|
5 |
+ declare -r confpart=debian-security
|
|
6 |
+else
|
|
7 |
+ declare -r functionname=ftp-master.debian.org
|
|
8 |
+ declare -r confpart=debian
|
|
9 |
+fi
|
|
10 |
+ |
|
11 |
+declare -r base=/srv/${functionname}
|
|
12 |
+declare -r masterdir=${base}/dak/
|
|
13 |
+export configdir=${configdir:-${masterdir}/config/${confpart}/}
|
|
14 |
+ |
|
15 |
+# And get all the tons of other variables
|
|
16 |
+source ${configdir}/../${confpart}/vars
|