freecad: evade vsed strict mode for flaky version info
to fix CI
This commit is contained in:
parent
2cb7f280f8
commit
0bbc9290c2
|
@ -44,9 +44,10 @@ fi
|
|||
|
||||
post_extract() {
|
||||
# Report exact minor version
|
||||
# Freecad has a record of shipping mismatching version info
|
||||
vminor=${version#*.}
|
||||
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
|
||||
vsed -e "s,\${PACKAGE_WCREF},${revision}_voidlinux," \
|
||||
|
|
Loading…
Reference in New Issue