sh fixes in scripts
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
|||||||
2003-01-01 Michal Cihar <nijel@users.sourceforge.net>
|
2003-01-01 Michal Cihar <nijel@users.sourceforge.net>
|
||||||
* lang/czech*: Updated.
|
* lang/czech*: Updated.
|
||||||
* lang/italian-*.inc.php3: Updates, thanks again to Pietro Danesi (danone).
|
* 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>
|
2002-12-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/ukrainian: update, thanks to Markijan Baran
|
* lang/ukrainian: update, thanks to Markijan Baran
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# $Id$
|
# $Id$
|
||||||
##
|
##
|
||||||
# Shell script to check that all language files are syncronized
|
# Shell script to check that all language files are syncronized
|
||||||
|
@@ -39,7 +39,7 @@ sortlang()
|
|||||||
egrep -i $TRANSLATIONSTRING $f | \
|
egrep -i $TRANSLATIONSTRING $f | \
|
||||||
uniq >$targetdir/tmp-translate
|
uniq >$targetdir/tmp-translate
|
||||||
|
|
||||||
echo -e -n "\nBuilding:"
|
echo -n "\nBuilding:"
|
||||||
echo -n " strings"
|
echo -n " strings"
|
||||||
for i in $STRINGORDER;
|
for i in $STRINGORDER;
|
||||||
do
|
do
|
||||||
@@ -60,7 +60,7 @@ sortlang()
|
|||||||
done | \
|
done | \
|
||||||
uniq >>$targetdir/translate
|
uniq >>$targetdir/translate
|
||||||
|
|
||||||
echo -e "\nAssembling final"
|
echo "\nAssembling final"
|
||||||
f=$f$2
|
f=$f$2
|
||||||
echo "<?php" >$f
|
echo "<?php" >$f
|
||||||
cat $targetdir/cvs $targetdir/head $targetdir/sort $targetdir/translate | \
|
cat $targetdir/cvs $targetdir/head $targetdir/sort $targetdir/translate | \
|
||||||
|
Reference in New Issue
Block a user