Browse Source

Remove scripty.

master
Andrius Štikonas 9 months ago
parent
commit
fd74ecaa95
  1. 10
      applysed
  2. 4
      checkout

10
applysed

@ -20,10 +20,10 @@
# ths-applysed.sh - apply a sed script to the whole project (the sed commands
# have to be supplied in an external file).
source "`dirname $0`/ths-variables"
source "$(dirname "$0")/ths-variables"
function usage() {
echo "Usage: `basename $0` <file-with-replacement-list> <base-directory>"
echo "Usage: $(basename "$0") <file-with-replacement-list> <base-directory>"
echo
echo "Example of the replacements file content:"
echo "s/bylai/failui/g"
@ -36,7 +36,7 @@ if [ $# -ne 2 ]; then
usage
fi
for po in `find -L $2 -name "*.po"`; do
echo -e $BLUE"$po"$ENDCOLOR
sed --file=$1 -i $po
for po in $(find -L "$2" -name "*.po"); do
echo -e "$BLUE$po$ENDCOLOR"
sed --file="$1" -i "$po"
done

4
checkout

@ -39,18 +39,14 @@ if [ ! -f ".ths" ]; then
if [ "$svnwrite" = "y" ]; then
cd trunk-kf5
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/templates
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/scripts
svn co svn+ssh://svn@svn.kde.org/home/kde/trunk/l10n-kf5/$lcode
cd ../stable-kf5
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf5/templates
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf5/scripts
svn co svn+ssh://svn@svn.kde.org/home/kde/branches/stable/l10n-kf5/$lcode
else
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/templates
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/scripts
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/$lcode
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf5/templates
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf5/scripts
svn co svn://anonsvn.kde.org/home/kde/branches/stable/l10n-kf5/$lcode
fi
else

Loading…
Cancel
Save