Got rid of the `cd' hack in the misc/launch_qet.sh script.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1128 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-12-19 17:16:30 +00:00
parent c73d51ccb8
commit d4cacb86c9

View File

@@ -1,13 +1,12 @@
#!/bin/bash
current_dir=$(dirname "$0")
cd "$current_dir"
# configuration
QET_EXE="../qelectrotech"
QET_ELEMENTS_DIR="../elements/"
QET_EXE=$(readlink -f "${current_dir}/../qelectrotech")
QET_ELEMENTS_DIR=$(readlink -f "${current_dir}/../elements/")
QET_CONFIG_DIR=""
QET_LANG_DIR="../lang/"
QET_LANG_DIR=$(readlink -f "${current_dir}/../lang/")
# REDEFINE_LANG="es"
# checks for the qelectrotech binary executable file
@@ -37,5 +36,3 @@ fi
# launching
${QET_EXE} ${OPTIONS} $*
cd - > /dev/null 2>&1