summaryrefslogtreecommitdiff
path: root/run/dvdomatic-osx
blob: ac42c31868b16d17c2730720d27dd4b83a701ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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