mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 18:22:02 +08:00
#4635 Fix invocation for make_archive.
This commit is contained in:
parent
ed45c01420
commit
a3073afcc2
@ -6,12 +6,13 @@
|
||||
# Adapted from script written by bubnikv for Prusa3D.
|
||||
# Run from slic3r repo root directory.
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage: $(basename $0) arch_name"
|
||||
echo "This script should be called from the main source directory for Slic3r."
|
||||
if [ "$#" -lt 1 ]; then
|
||||
echo "Usage: $(basename $0) arch_name [source_dir]"
|
||||
echo "source_dir is the path to Slic3r's main directory. Default: $(pwd)"
|
||||
exit 1;
|
||||
fi
|
||||
libdirs=$(find ./local-lib -iname *.so -exec dirname {} \; | sort -u | paste -sd ";" -)
|
||||
|
||||
echo "WD: $(dirname $0)"
|
||||
WD=./$(dirname $0)
|
||||
source $(dirname $0)/../common/util.sh
|
||||
# Determine if this is a tagged (release) commit.
|
||||
@ -26,6 +27,8 @@ set_app_name
|
||||
set_pr_id
|
||||
install_par
|
||||
|
||||
libdirs=$(find ${SLIC3R_DIR}/local-lib -iname *.so -exec dirname {} \; | sort -u | paste -sd ";" -)
|
||||
|
||||
# If we're on a branch, add the branch name to the app name.
|
||||
if [ "$current_branch" == "master" ]; then
|
||||
if [ ! -z ${PR_ID+x} ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user