identpatch.sh 207 B

1234567
  1. #!/bin/sh
  2. elfdump -n `which elfdump` |awk '/FreeBSD/{print $2}' >elfversion
  3. IDVERSION=`cat elfversion`
  4. rm elfversion
  5. echo Patching cprt0.as with version $IDVERSION
  6. sed -I.sav -es/504000/$IDVERSION/ cprt0.as