mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
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:
@@ -1,13 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
current_dir=$(dirname "$0")
|
current_dir=$(dirname "$0")
|
||||||
cd "$current_dir"
|
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
QET_EXE="../qelectrotech"
|
QET_EXE=$(readlink -f "${current_dir}/../qelectrotech")
|
||||||
QET_ELEMENTS_DIR="../elements/"
|
QET_ELEMENTS_DIR=$(readlink -f "${current_dir}/../elements/")
|
||||||
QET_CONFIG_DIR=""
|
QET_CONFIG_DIR=""
|
||||||
QET_LANG_DIR="../lang/"
|
QET_LANG_DIR=$(readlink -f "${current_dir}/../lang/")
|
||||||
# REDEFINE_LANG="es"
|
# REDEFINE_LANG="es"
|
||||||
|
|
||||||
# checks for the qelectrotech binary executable file
|
# checks for the qelectrotech binary executable file
|
||||||
@@ -37,5 +36,3 @@ fi
|
|||||||
|
|
||||||
# launching
|
# launching
|
||||||
${QET_EXE} ${OPTIONS} $*
|
${QET_EXE} ${OPTIONS} $*
|
||||||
|
|
||||||
cd - > /dev/null 2>&1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user