Remove in-place translations support.
[dcpomatic.git] / run / dcpomatic_create
index b3fe330c5d5eb78fb2d48441b8b39c3c0f03a99c..693f9a05d10b7c9f0b23aafeffd373c4046a5fef 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/bash
 
-export LD_LIBRARY_PATH=build/src/lib:build/src/wx:/home/c.hetherington/lib:$LD_LIBRARY_PATH
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+source $DIR/environment
+
 if [ "$1" == "--debug" ]; then
     shift
     gdb --args build/src/tools/dcpomatic2_create $*