X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdvdomatic;h=147c001cdf3c8fc8e4be4fe0ff8f8f2b0d65e35f;hb=a25cdee1b5b9deaa4414c7f1ddac3f55c03227c1;hp=3aa1cf5e877108061504e3aa53ba53ed7851a84d;hpb=3d4faebe28da789a9083e6a2cc0b345df6c17306;p=dcpomatic.git diff --git a/run/dvdomatic b/run/dvdomatic index 3aa1cf5e8..147c001cd 100755 --- a/run/dvdomatic +++ b/run/dvdomatic @@ -2,10 +2,14 @@ export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then - gdb --args build/src/tools/dvdomatic $2 + shift + gdb --args build/src/tools/dvdomatic "$*" elif [ "$1" == "--valgrind" ]; then - valgrind --tool="memcheck" build/src/tools/dvdomatic $2 + shift + valgrind --tool="memcheck" build/src/tools/dvdomatic $* +elif [ "$1" == "--i18n" ]; then + shift + LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 build/src/tools/dvdomatic "$*" else - build/src/tools/dvdomatic -# "$1" + build/src/tools/dvdomatic "$*" fi