[cranspasswords] On rajoute barbich'

darcs-hash:20101010105336-ffbb2-0d6e9916929ab131b572a55bb2b8182efbcaf696.gz
This commit is contained in:
Nicolas Dandrimont 2010-10-10 12:53:36 +02:00
parent 7b2fc39186
commit d4e49319a8

View file

@ -97,6 +97,7 @@ function chiffre () {
F2530FCE # pierre.chambart@crans.org
FCE03DAA # Stephane.Glondu@crans.org
051ADBC8 # maioli@crans.org
CDF91D96 # cohen@crans.org
)
count=${#full_rec[@]}
RECIPIENTS=$(index=0; while [ "$index" -lt "$count" ]; do echo -n "-r "; echo -n 0x${full_rec[$index]}; echo -n " "; ((index++)); done)
@ -109,7 +110,6 @@ function chiffre () {
# 81DDB065 gregoire.detrez@crans.org
# 98E76332 etienne.chove@crans.org
# BD156CC4 dubost@crans.org
# CDF91D96 cohen@crans.org
[[ "$#" == "0" ]] && ssh ${SRV} "sudo sh -c \"cat > ${REP}/${CHOIX}.asc\"" < ${TMP}.asc || echo -e "\033[1;31mErreur, abandon...\033[1;0m"
}