[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: l10n/scripts
From: Stephan Kulow <coolo () kde ! org>
Date: 2007-06-11 13:49:10
Message-ID: 1181569750.310105.22668.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 673955 by coolo:
sync with l10n-kde4
M +7 -2 process_orphans.sh
--- trunk/l10n/scripts/process_orphans.sh #673954:673955
@@ -47,6 +47,11 @@
for lang in $subdirs; do
poorig=./$lang/$orig
podest=./$lang/$dest
+ podestdir=`dirname $podest`
+ if test ! -d $podestdir; then
+ svn mkdir $podestdir
+ fi
+
# Does the rule need to be done manually?
manual=
if test -f $poorig; then
@@ -58,10 +63,10 @@
test -z "$VERBOSE" || echo "$poorig matches a delete rule. \
Removing." svn remove $poorig
elif test $command = "move" -a ! -e $podest; then
- test -z "$VERBOSE" || echo "$poorig matches a move rule and $podest \
does not exit. Moving." + test -z "$VERBOSE" || echo "$poorig matches \
a move rule and $podest does not exist. Moving." svn move $poorig $podest
elif test $command = "copy" -a ! -e $podest; then
- test -z "$VERBOSE" || echo "$poorig matches a copy rule and $podest \
does not exit. Copying." + test -z "$VERBOSE" || echo "$poorig matches \
a copy rule and $podest does not exist. Copying." svn copy $poorig $podest
elif test $command = "move" -a -f $podest; then
if test -n "`LC_ALL=C msgfmt -o /dev/null --statistic $poorig 2>&1 \
|egrep "^0 translated messages"`"; then
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic