<commit_before>#!/bin/bash
set -euo pipefail

perlbrew switch slic3r-perl
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

LD_LIBRARY_PATH=$WXDIR/lib package/linux/make_archive.sh linux-x64

package/linux/appimage.sh x86_64

package/deploy/sftp.sh linux ~/slic3r-upload.rsa `pwd`/*.bz2 `pwd`/Slic3r*.AppImage
package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa AppImage Slic3r*.AppImage
package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa tar.bz2 *.bz2<commit_msg>#4635 only use WXDIR if it is set.<commit_after>#!/bin/bash
set -euo pipefail

perlbrew switch slic3r-perl
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

package/deploy/sftp.sh linux ~/slic3r-upload.rsa `pwd`/*.bz2 `pwd`/Slic3r*.AppImage
package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa AppImage Slic3r*.AppImage
package/deploy/sftp-symlink.sh linux ~/slic3r-upload.rsa tar.bz2 *.bz2
{'fraction_non_alphanumeric': 0.13664596273291926, 'fraction_numerical': 0.029503105590062112, 'mean_word_length': 5.1380952380952385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7570823', 'n_tokens_mistral': 586, 'n_tokens_neox': 535, 'n_words': 98}