Changeset d7bdf9f


Ignore:
Timestamp:
01/07/2023 09:28: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:
c2426e1f
Parents:
58142d71
Message:

Tweak stripping script

File:
1 edited

Legend:

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

    r58142d71 rd7bdf9f  
    586586    </para>
    587587
    588 <screen><userinput>cat &gt; strip-all.sh &lt;&lt; "EOF"
    589 <literal>#!/bin/bash
     588<screen><userinput>cat &gt; /usr/sbin/strip-all.sh &lt;&lt; "EOF"
     589<literal>#!/usr/bin/bash
    590590
    591591if [ $EUID -ne 0 ]; then
     
    599599} |  while read file; do
    600600       if ! readelf -h $file >/dev/null 2>&amp;1; then continue; fi
    601        if $( file $file | grep --quiet --invert-match 'not stripped' ); then
    602          continue;
    603        fi
     601       if file $file | grep --quiet --invert-match 'not stripped'; then continue; fi
    604602
    605603       cp --preserve $file    ${file}.tmp
     
    608606     done</literal>
    609607EOF
    610 chmod 755 strip-all.sh</userinput></screen>
     608chmod 744 /usr/sbin/strip-all.sh</userinput></screen>
    611609
    612610    <para>
Note: See TracChangeset for help on using the changeset viewer.