Fix script path

This commit is contained in:
Leandro
2020-04-27 15:22:12 -03:00
parent 4f4063a99a
commit 392d93aa05
2 changed files with 4 additions and 8 deletions

View File

@@ -1,10 +1,5 @@
#!/bin/bash
current_path=$(dirname $0)
cd $current_path
current_path=$(pwd)
cd -
script_path=$(dirname $current_path)
python3 $script_path/FlatCAM.py $*
script_path=$(readlink -f $0)
python_script_path=$(dirname $script_path)/../../
python3 $python_script_path/FlatCAM.py $*