Updated start script.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1443 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier 2012-01-08 23:36:50 +00:00
parent 8cae0c000c
commit 364750f09d

View File

@ -5,6 +5,7 @@ current_dir=$(dirname "$0")
# configuration
QET_EXE=$(readlink -f "${current_dir}/../qelectrotech")
QET_ELEMENTS_DIR=$(readlink -f "${current_dir}/../elements/")
QET_TBT_DIR=$(readlink -f "${current_dir}/../titleblocks/")
QET_CONFIG_DIR=""
QET_LANG_DIR=$(readlink -f "${current_dir}/../lang/")
# REDEFINE_LANG="es"
@ -22,6 +23,10 @@ if [ -d "${QET_ELEMENTS_DIR}" ]; then
OPTIONS="${OPTIONS} --common-elements-dir=${QET_ELEMENTS_DIR}"
fi
if [ -d "${QET_TBT_DIR}" ]; then
OPTIONS="${OPTIONS} --common-tbt-dir=${QET_TBT_DIR}"
fi
if [ -d "${QET_CONFIG_DIR}" ]; then
OPTIONS="${OPTIONS} --config-dir=${QET_CONFIG_DIR}"
fi