From 9b5238ef91021ac10c28c3a7521237e01af143f2 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 30 Dec 2018 11:02:19 -0600 Subject: [PATCH] #4635 Add some more useful diagnostic messages to make_archive.sh and fix a syntax error. --- package/linux/make_archive.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package/linux/make_archive.sh b/package/linux/make_archive.sh index 9c18ea96d..42ff07bb4 100755 --- a/package/linux/make_archive.sh +++ b/package/linux/make_archive.sh @@ -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}"