diff --git a/srclibs/fpc.yml b/srclibs/fpc.yml index 851cdf7bfd..2c94fdd45d 100644 --- a/srclibs/fpc.yml +++ b/srclibs/fpc.yml @@ -1,2 +1,6 @@ RepoType: git Repo: https://gitlab.com/freepascal.org/fpc/source.git + +Prepare: | + export build_date=$(git show --no-patch --format=%cd --date=format-local:'%Y/%m/%d') + sed -i -e "s:build_date = .*:build_date = \"$build_date\";:" utils/fpcres/fpcres.pas