From e5f77dffaf8621f64c89a5200e208eefd4338044 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 May 2013 22:18:24 +0100 Subject: [PATCH] Add run script for OS X --- run/dvdomatic-osx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 run/dvdomatic-osx diff --git a/run/dvdomatic-osx b/run/dvdomatic-osx new file mode 100755 index 000000000..ac42c3186 --- /dev/null +++ b/run/dvdomatic-osx @@ -0,0 +1,15 @@ +#!/bin/bash + +export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:build/src/lib:build/src:/Users/carl/Environments/osx/10.8/lib +if [ "$1" == "--debug" ]; then + shift + gdb --args build/src/tools/dvdomatic "$*" +elif [ "$1" == "--valgrind" ]; then + 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 "$*" +fi -- 2.30.2