Skip to content

Commit

Permalink
slic3r#4635 use SLIC3R_DIR during get_version
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofhyphens committed Dec 31, 2018
1 parent f1fc6d2 commit f0a2183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/common/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit f0a2183

Please sign in to comment.