Skip to content

Commit

Permalink
slic3r#4635 Add some more useful diagnostic messages to make_archive.…
Browse files Browse the repository at this point in the history
…sh and fix a syntax error.
  • Loading branch information
lordofhyphens committed Dec 31, 2018
1 parent a61d2a7 commit 9b5238e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions package/linux/make_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 9b5238e

Please sign in to comment.