mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
freecad: evade vsed strict mode for flaky version info
to fix CI
This commit is contained in:
parent
2cb7f280f8
commit
0bbc9290c2
1 changed files with 2 additions and 1 deletions
|
@ -44,9 +44,10 @@ fi
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# Report exact minor version
|
# Report exact minor version
|
||||||
|
# Freecad has a record of shipping mismatching version info
|
||||||
vminor=${version#*.}
|
vminor=${version#*.}
|
||||||
vminor=${vminor%%.*}
|
vminor=${vminor%%.*}
|
||||||
vsed -i -e "s,^\(set(PACKAGE_VERSION_MINOR\) .*,\1 \"${vminor}\")," CMakeLists.txt
|
sed -i -e "s,^\(set(PACKAGE_VERSION_MINOR\) .*,\1 \"${vminor}\")," CMakeLists.txt
|
||||||
|
|
||||||
# SubWCRev.py (SCM check) reports "unknown" for these fields
|
# SubWCRev.py (SCM check) reports "unknown" for these fields
|
||||||
vsed -e "s,\${PACKAGE_WCREF},${revision}_voidlinux," \
|
vsed -e "s,\${PACKAGE_WCREF},${revision}_voidlinux," \
|
||||||
|
|
Loading…
Add table
Reference in a new issue