Syntax error
-
Hi,
I just updated to version 1.5.7.103 and during capture I receive the syntax error on resizing ext partition. The syntax error is set on “awk : cmd line 1”.
Is it possible to solve that problem ?
Thanks
Miguël -
More info
“Check extfs volume --> Done”
“/^Block[”
“^ unterminated regexp”
“error : Invalid regular expression : /^Block[/”
"BEGIN {PRINTF “%.0f\n”, 2153085}"
“syntax error”
"BEGIN {PRINTF “%.0f\n”, 5/100}"
“syntax error”
“BEGIN {PRINTF “%.0f\n”, +}”
“syntax error”
“Init version 20200201”
“Error calculating the new size of extfs (shrinkPartition)”**What went wrong and how can I solve this problem ?
Thanks
Miguël -
@Quazz @Sebastian-Roth
The two awk lines changed in this commit are underquoted:
https://github.com/FOGProject/fos/commit/5f0e7b5f7d77986b0e0019dd23c875c6d40ec869 -
I’ve made the required changes to quote the awk statements properly. This will take a while to build of course.
-
@shruggy Indeed, I didn’t catch that last time. Because we use square brackets now it needs to start the quote earlier. (though really it should always do that for clarity)
-
@Tom-Elliott
Will you post a message if the update will be ready ? -
@dforce New inits are build and you can simply re-run the installer to pull the new files. Tom also pushed some changes to
dev-branch
so you might want to do agit pull
as well though it’s not needed. If you do so, don’t wonder about a decreased version number. Seems like we had that advanced a little too high at some point and Tom pulled it back now.