[Libreoffice-commits] .: Branch 'libreoffice-3-5' - l10ntools/prj l10ntools/scripts

Andras Timar timar at kemper.freedesktop.org
Sun Dec 18 15:18:31 PST 2011


 l10ntools/prj/d.lst          |    1 +
 l10ntools/scripts/propex.bat |    8 ++++++++
 2 files changed, 9 insertions(+)

New commits:
commit d6fab97bfaecdaf121b4be0612df35d58b24c862
Author: Andras Timar <atimar at suse.com>
Date:   Mon Dec 19 00:16:20 2011 +0100

    add propex.bat, so propex Perl script can run under Win32

diff --git a/l10ntools/prj/d.lst b/l10ntools/prj/d.lst
index ee088ff..95675a7 100644
--- a/l10ntools/prj/d.lst
+++ b/l10ntools/prj/d.lst
@@ -39,6 +39,7 @@ mkdir: %_DEST%\bin\help\com\sun\star\help
 ..\scripts\addkeyid2pot.pl %_DEST%\bin\addkeyid2pot.pl
 ..\scripts\po2lo %_DEST%\bin\po2lo
 ..\scripts\propex %_DEST%\bin\propex
+..\scripts\propex.bat %_DEST%\bin\propex.bat
 ..\scripts\propmerge %_DEST%\bin\propmerge
 ..\inc\export.hxx %_DEST%\inc\l10ntools\export.hxx
 ..\inc\l10ntools\directory.hxx %_DEST%\inc\l10ntools\directory.hxx
diff --git a/l10ntools/scripts/propex.bat b/l10ntools/scripts/propex.bat
new file mode 100755
index 0000000..1174286
--- /dev/null
+++ b/l10ntools/scripts/propex.bat
@@ -0,0 +1,8 @@
+ at echo off
+
+if "x%PERL%x" EQU "xx" (
+    echo ERROR: Perl not found. Environment is not set.
+    exit /b 1
+)
+
+%PERL% %SOLARVER%\%INPATH%\bin\propex %*
\ No newline at end of file


More information about the Libreoffice-commits mailing list