From 61e569e18732932ef9717fadd904bf797614d958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 1 Jan 2003 22:26:37 +0000 Subject: [PATCH] sh fixes in scripts --- ChangeLog | 2 ++ lang/check_lang.sh | 2 +- lang/sort_lang.sh | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc37bab18..3850c12ba 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ $Source$ 2003-01-01 Michal Cihar * 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 * lang/ukrainian: update, thanks to Markijan Baran diff --git a/lang/check_lang.sh b/lang/check_lang.sh index 595af25ac..f646af28c 100755 --- a/lang/check_lang.sh +++ b/lang/check_lang.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # $Id$ ## # Shell script to check that all language files are syncronized diff --git a/lang/sort_lang.sh b/lang/sort_lang.sh index dffa62b0b..efd72b3d6 100755 --- a/lang/sort_lang.sh +++ b/lang/sort_lang.sh @@ -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 "$f cat $targetdir/cvs $targetdir/head $targetdir/sort $targetdir/translate | \