mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
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:
parent
8cae0c000c
commit
364750f09d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user