#4635 Add some more useful diagnostic messages to make_archive.sh and fix a syntax error.

This commit is contained in:
Joseph Lenox 2018-12-30 11:02:19 -06:00 committed by Joseph Lenox
parent a61d2a7c66
commit 9b5238ef91

View File

@ -48,11 +48,19 @@ echo "Appfolder: $appfolder, archivefolder: $archivefolder"
# Our slic3r dir and location of perl
if [[ ! -z "$PERL_BIN" ]]; then
PERL_BIN=$(which perl)
echo "Found perl at $PERL_BIN"
fi
if [[! -z "$PP_BIN" ]]; then
if [[ ! -z "$PP_BIN" ]]; then
PP_BIN=$(which pp)
echo "Found pp at $PP_BIN"
fi
SLIC3R_DIR="./"
if [[ ! -z "$TRAVIS_BUILD_DIR" ]]; then
SLIC3R_DIR="./"
else
SLIC3R_DIR="$TRAVIS_BUILD_DIR"
fi
echo "Set SLIC3R_DIR to $SLIC3R_DIR".
if [[ -d "${appfolder}" ]]; then
echo "Deleting old working folder: ${appfolder}"