Mercurial > repos > rliterman > csp2
annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/gettext/projects/team-address @ 68:5028fdace37b
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 16:23:26 -0400 |
parents | |
children |
rev | line source |
---|---|
jpayne@68 | 1 #!/bin/sh |
jpayne@68 | 2 # |
jpayne@68 | 3 # Copyright (C) 2001 Free Software Foundation, Inc. |
jpayne@68 | 4 # Written by Bruno Haible <bruno@clisp.org>, 2001. |
jpayne@68 | 5 # |
jpayne@68 | 6 # This program is free software: you can redistribute it and/or modify |
jpayne@68 | 7 # it under the terms of the GNU General Public License as published by |
jpayne@68 | 8 # the Free Software Foundation; either version 3 of the License, or |
jpayne@68 | 9 # (at your option) any later version. |
jpayne@68 | 10 # |
jpayne@68 | 11 # This program is distributed in the hope that it will be useful, |
jpayne@68 | 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
jpayne@68 | 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
jpayne@68 | 14 # GNU General Public License for more details. |
jpayne@68 | 15 # |
jpayne@68 | 16 # You should have received a copy of the GNU General Public License |
jpayne@68 | 17 # along with this program. If not, see <https://www.gnu.org/licenses/>. |
jpayne@68 | 18 |
jpayne@68 | 19 # Print the team's address (to stdout) and output additional instructions |
jpayne@68 | 20 # (to stderr). |
jpayne@68 | 21 |
jpayne@68 | 22 projectsdir="$1" |
jpayne@68 | 23 progdir="$2" |
jpayne@68 | 24 catalog="$3" # e.g. "pt_BR" |
jpayne@68 | 25 language="$4" # e.g. "pt" |
jpayne@68 | 26 |
jpayne@68 | 27 for project in `cat "$projectsdir/index"`; do |
jpayne@68 | 28 if /bin/sh "$projectsdir/$project/trigger"; then |
jpayne@68 | 29 /bin/sh "$projectsdir/$project/team-address" "$projectsdir" "$progdir" "$catalog" "$language" |
jpayne@68 | 30 exit $? |
jpayne@68 | 31 fi |
jpayne@68 | 32 done |
jpayne@68 | 33 |
jpayne@68 | 34 exit 0 |