Changeset 15312


Ignore:
Timestamp:
2009-04-21T03:10:21+02:00 (9 years ago)
Author:
nico
Message:

add a workaround to rstrip restoring exec perms when they got changed by sstrip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/rstrip.sh

    r15245 r15312  
    4949                eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F" 
    5050        } || { 
     51                b=$(stat -c '%a' $F) 
    5152                eval "$STRIP $F" 
     53                a=$(stat -c '%a' $F) 
     54                [ "$a" = "$b" ] || chmod $b $F 
    5255        } 
    5356  done 
Note: See TracChangeset for help on using the changeset viewer.