srclib fpc - apply embedded date hack

This commit is contained in:
Licaon_Kter 2025-05-06 14:51:31 +03:00
parent 86690576eb
commit 8a101f124a

View File

@ -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