sh fixes in scripts

This commit is contained in:
Michal Čihař
2003-01-01 22:26:37 +00:00
parent 7b3ea3beb7
commit 61e569e187
3 changed files with 5 additions and 3 deletions

View File

@@ -11,6 +11,8 @@ $Source$
2003-01-01 Michal Cihar <nijel@users.sourceforge.net>
* lang/czech*: Updated.
* lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone).
* lang/sort_lang.sh: Made POSIX sh compatible.
* lang/check_lang.sh: Made require bash.
2002-12-28 Marc Delisle <lem9@users.sourceforge.net>
* lang/ukrainian: update, thanks to Markijan Baran

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# $Id$
##
# Shell script to check that all language files are syncronized

View File

@@ -39,7 +39,7 @@ sortlang()
egrep -i $TRANSLATIONSTRING $f | \
uniq >$targetdir/tmp-translate
echo -e -n "\nBuilding:"
echo -n "\nBuilding:"
echo -n " strings"
for i in $STRINGORDER;
do
@@ -60,7 +60,7 @@ sortlang()
done | \
uniq >>$targetdir/translate
echo -e "\nAssembling final"
echo "\nAssembling final"
f=$f$2
echo "<?php" >$f
cat $targetdir/cvs $targetdir/head $targetdir/sort $targetdir/translate | \