~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/add_errmsg

  • Committer: Stewart Smith
  • Date: 2008-06-30 06:46:40 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630064640-1tbyi1e8j4duba45
no embedded server, stop testing for it in tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if test $# -ne 1
 
4
then
 
5
  echo "Copies # error messages from share/english/errmsg.txt to other message files"
 
6
  echo "Usage: $0 number_of_messages_to_copy"
 
7
  exit 1;
 
8
fi
 
9
 
 
10
FILE=/tmp/add.$$
 
11
tail -$1 share/english/errmsg.txt > $FILE
 
12
for i in `ls share/*/errmsg.txt | grep -v english`
 
13
do
 
14
  cat $FILE >> $i
 
15
done
 
16
rm $FILE
 
17