[qet] [1443] Updated start script. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 1443
Author: xavier
Date: 2012-01-09 00:36:50 +0100 (Mon, 09 Jan 2012)
Log Message:
-----------
Updated start script.
Modified Paths:
--------------
branches/0.3/misc/launch_qet.sh
Modified: branches/0.3/misc/launch_qet.sh
===================================================================
--- branches/0.3/misc/launch_qet.sh 2012-01-08 22:38:59 UTC (rev 1442)
+++ branches/0.3/misc/launch_qet.sh 2012-01-08 23:36:50 UTC (rev 1443)
@@ -5,6 +5,7 @@
# 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 @@
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