mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 07:16:30 +08:00
#4635 use SLIC3R_DIR during get_version
This commit is contained in:
parent
f1fc6d24e4
commit
f0a21833f7
@ -19,7 +19,7 @@ function set_source_dir ()
|
||||
# must be run from the root
|
||||
function set_version ()
|
||||
{
|
||||
SLIC3R_VERSION=$(grep "VERSION" xs/src/libslic3r/libslic3r.h | awk -F\" '{print $2}')
|
||||
SLIC3R_VERSION=$(grep "VERSION" ${SLIC3R_DIR}/xs/src/libslic3r/libslic3r.h | awk -F\" '{print $2}')
|
||||
}
|
||||
# Cache the SHA1 for this build commit.
|
||||
function get_commit () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user