From f1e484acb594a726fb57ad0ae4cfe902c7f35858 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Thu, 22 Jan 2009 00:13:42 -0800 Subject: auto import from //branches/cupcake/...@127436 --- data/localization/import-from-xtb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/localization/import-from-xtb b/data/localization/import-from-xtb index 15b060a..f0a0b7d 100755 --- a/data/localization/import-from-xtb +++ b/data/localization/import-from-xtb @@ -44,7 +44,12 @@ extract() p4 edit $out p4 add $out mkdir -p `dirname $out` - ../../../../out/host/linux-x86/bin/transconsole -m $1 $2 -p $module -i $module-$locale.xtb $i > $out + if ../../../../out/host/linux-x86/bin/transconsole -m $1 $2 -p $module -i $module-$locale.xtb $i > $out + then : + else + p4 revert $out + p4 delete $out + fi done } -- cgit v1.1