mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-01 17:09:37 +01:00
8 lines
208 B
Bash
8 lines
208 B
Bash
#!/bin/sh
|
|
elfdump -n `which elfdump` |awk '/FreeBSD/{print $2}' >elfversion
|
|
IDVERSION=`cat elfversion`
|
|
rm elfversion
|
|
echo Patching cprt0.as with version $IDVERSION
|
|
|
|
sed -I.sav -es/900044/$IDVERSION/ cprt0.as
|