mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-29 22:39:59 +01: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:
@@ -5,6 +5,7 @@ current_dir=$(dirname "$0")
|
|||||||
# configuration
|
# configuration
|
||||||
QET_EXE=$(readlink -f "${current_dir}/../qelectrotech")
|
QET_EXE=$(readlink -f "${current_dir}/../qelectrotech")
|
||||||
QET_ELEMENTS_DIR=$(readlink -f "${current_dir}/../elements/")
|
QET_ELEMENTS_DIR=$(readlink -f "${current_dir}/../elements/")
|
||||||
|
QET_TBT_DIR=$(readlink -f "${current_dir}/../titleblocks/")
|
||||||
QET_CONFIG_DIR=""
|
QET_CONFIG_DIR=""
|
||||||
QET_LANG_DIR=$(readlink -f "${current_dir}/../lang/")
|
QET_LANG_DIR=$(readlink -f "${current_dir}/../lang/")
|
||||||
# REDEFINE_LANG="es"
|
# REDEFINE_LANG="es"
|
||||||
@@ -22,6 +23,10 @@ if [ -d "${QET_ELEMENTS_DIR}" ]; then
|
|||||||
OPTIONS="${OPTIONS} --common-elements-dir=${QET_ELEMENTS_DIR}"
|
OPTIONS="${OPTIONS} --common-elements-dir=${QET_ELEMENTS_DIR}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "${QET_TBT_DIR}" ]; then
|
||||||
|
OPTIONS="${OPTIONS} --common-tbt-dir=${QET_TBT_DIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d "${QET_CONFIG_DIR}" ]; then
|
if [ -d "${QET_CONFIG_DIR}" ]; then
|
||||||
OPTIONS="${OPTIONS} --config-dir=${QET_CONFIG_DIR}"
|
OPTIONS="${OPTIONS} --config-dir=${QET_CONFIG_DIR}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user