Blame docker-builder-data/build/script/packet/opentoonz-master.files/launch-opentoonz.sh

e14835
#!/bin/sh
e14835
b0fa99
SCRIPT_DIR=$(cd `dirname "$0"`; pwd)
e14835
BASE_DIR=`dirname "$SCRIPT_DIR"`
e14835
e14835
export LD_LIBRARY_PATH="$BASE_DIR/lib:$BASE_DIR/lib64:$LD_LIBRARY_PATH"
f65cc2
export QT_XKB_CONFIG_ROOT=$QT_XKB_CONFIG_ROOT:/usr/local/share/X11/xkb:/usr/share/X11/xkb
e14835
b0fa99
OLDDIR=`pwd`
e14835
cd "$BASE_DIR/bin"
b0fa99
./opentoonz "$@"
e14835
cd "$OLDDIR"