From f19fc3b6dcdffb01ecc2ec6f54715665f57aa0c3 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 30 Dec 2018 19:17:52 -0600 Subject: [PATCH] #4635 only use WXDIR if it is set. --- package/linux/travis-deploy-main.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/linux/travis-deploy-main.sh b/package/linux/travis-deploy-main.sh index 856d951cef..0a6a3e2ba9 100755 --- a/package/linux/travis-deploy-main.sh +++ b/package/linux/travis-deploy-main.sh @@ -6,7 +6,11 @@ cpanm local::lib eval $(perl -Mlocal::lib=$TRAVIS_BUILD_DIR/local-lib) cd package/linux && make -f build_shell.mk && mv Slic3r* $TRAVIS_BUILD_DIR && cd $TRAVIS_BUILD_DIR +if [ -z ${WXDIR+x} ]; then +package/linux/make_archive.sh linux-x64 +else LD_LIBRARY_PATH=$WXDIR/lib package/linux/make_archive.sh linux-x64 +fi package/linux/appimage.sh x86_64