1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:35:55 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15312 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2009-04-21 01:10:21 +00:00
parent dfce366310
commit 5c050e2e16

View File

@ -48,7 +48,10 @@ find $TARGETS -type f -a -exec file {} \; | \
[ "${S}" = "relocatable" ] && { [ "${S}" = "relocatable" ] && {
eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F" eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F"
} || { } || {
b=$(stat -c '%a' $F)
eval "$STRIP $F" eval "$STRIP $F"
a=$(stat -c '%a' $F)
[ "$a" = "$b" ] || chmod $b $F
} }
done done
true true