a/codesys-ide/codesys | b/codesys-ide/codesys | ||
---|---|---|---|
... |
... |
||
8 | BASEPATH=$(pwd)/scripts |
8 | BASEPATH=$(pwd)/scripts |
9 | fi |
9 | fi |
10 | 10 | ||
11 | # get first CODESYS profile and start the script with it |
11 | # get first CODESYS profile and start the script with it |
12 | profile=$(basename "$(ls -1 ~/.wine.cds/drive_c/CODESYS/CODESYS/Profiles/*.profile | head -n 1 | sed 's,.profile,,')") |
12 | profile=$(basename "$(ls -1 ~/.wine.cds/drive_c/CODESYS/CODESYS/Profiles/*.profile | head -n 1 | sed 's,.profile,,')") |
13 | libdoc=$(ls -1 /home/labi/.wine.cds/drive_c/CODESYS/CODESYS/DocScripting/*/libdoc.exe) |
13 | libdoc=$(ls -1 ${HOME}/.wine.cds/drive_c/CODESYS/CODESYS/DocScripting/*/libdoc.exe) |
14 | 14 | ||
15 | # start ide? |
15 | # start ide? |
16 | if [ "${1}" == "ide" ]; then |
16 | if [ "${1}" == "ide" ]; then |
17 | export WINEPREFIX=~/.wine.cds |
17 | export WINEPREFIX=~/.wine.cds |
18 | export WINEDEBUG=-all |
18 | export WINEDEBUG=-all |