actually get to the path

This commit is contained in:
Joseph Lenox 2018-08-19 19:53:50 -05:00
parent 8fefac8d61
commit acdf25cb15

View File

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