From 871809eb7fa71b1f65b8563de5ac1def2a5078db Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 5 Feb 2011 17:16:09 +0100 Subject: [PATCH] send codenames Signed-off-by: Joerg Jaspert --- config/debian-security/cron.buildd | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/config/debian-security/cron.buildd b/config/debian-security/cron.buildd index 0ea2b4fe..043d5481 100755 --- a/config/debian-security/cron.buildd +++ b/config/debian-security/cron.buildd @@ -69,6 +69,21 @@ if [ ! -z "$dists" ]; then done trap 'kill -TERM $SSH_PID' 0 for d in $dists; do - ssh wbadm@buildd -S $SSH_SOCKET trigger.security $d + case $d in + oldstable) + send=lenny + ;; + stable) + send=squeeze + ;; + testing) + send=testing + ;; + *) + send=unknown + ;; + esac + + ssh wbadm@buildd -S $SSH_SOCKET trigger.security $send done fi -- 2.39.2