add a workaround to rstrip restoring exec perms when they got changed by sstrip
SVN-Revision: 15312
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicolas Thill
					Nicolas Thill