set SLIC3R_DIR properly?

This commit is contained in:
Joseph Lenox 2018-08-19 19:51:41 -05:00
parent d836815588
commit 8fefac8d61

View File

@ -43,7 +43,7 @@ resourcefolder=$appfolder
echo "Appfolder: $appfolder, archivefolder: $archivefolder"
# Our slic3r dir and location of perl
SLIC3R_DIR="./"
SLIC3R_DIR="$(readlink -F $0)/../../"
if [[ -d "${appfolder}" ]]; then
echo "Deleting old working folder: ${appfolder}"