summaryrefslogtreecommitdiff
path: root/gettext-tools/projects/team-address
blob: d42236cb70c89cc375b2ca28275497c1e0a3e6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Print the team's address (to stdout) and output additional instructions
# (to stderr).
projectsdir="$1"
progdir="$2"
catalog="$3"  # e.g. "pt_BR"
language="$4" # e.g. "pt"

for project in `cat "$projectsdir/index"`; do
  if /bin/sh "$projectsdir/$project/trigger"; then
    /bin/sh "$projectsdir/$project/team-address" "$projectsdir" "$progdir" "$catalog" "$language"
    exit $?
  fi
done

exit 0