Changeset cf799eb


Ignore:
Timestamp:
01/07/2023 03:04:10 PM (16 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
bf31777
Parents:
1ca0cbf
Message:

Tweak stripping script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • introduction/important/building-notes.xml

    r1ca0cbf rcf799eb  
    596596{ find /usr/lib -type f -name '*.so*' ! -name '*dbg'
    597597  find /usr/lib -type f -name '*.a'
    598   find /usr/{bin,sbin,libexec} -type f;
     598  find /usr/{bin,sbin,libexec} -type f
    599599} |  while read file; do
    600600       if ! readelf -h $file >/dev/null 2>&amp;1; then continue; fi
     
    603603       fi
    604604
    605        base=$(basename $file)
    606        cp --preserve $file    ${base}.tmp
    607        strip --strip-unneeded ${base}.tmp
    608        mv ${base}.tmp $file
     605       cp --preserve $file    ${file}.tmp
     606       strip --strip-unneeded ${file}.tmp
     607       mv ${file}.tmp $file
    609608     done</literal>
    610609EOF
Note: See TracChangeset for help on using the changeset viewer.