forked from kiss-community/kiss
kiss: More portable od usage
This commit is contained in:
parent
6134d5d02f
commit
14a1bd3638
2
kiss
2
kiss
@ -449,7 +449,7 @@ pkg_strip() {
|
|||||||
# 0000020
|
# 0000020
|
||||||
# 0000022
|
# 0000022
|
||||||
find "$pkg_dir/$1" -type f | while read -r file; do
|
find "$pkg_dir/$1" -type f | while read -r file; do
|
||||||
case $(od -cN 18 "$file") in
|
case $(od -A o -t c -N 18 "$file") in
|
||||||
# REL (object files (.o), static libraries (.a)).
|
# REL (object files (.o), static libraries (.a)).
|
||||||
*177*E*L*F*0000020\ 001\ *|*\!*\<*a*r*c*h*\>*)
|
*177*E*L*F*0000020\ 001\ *|*\!*\<*a*r*c*h*\>*)
|
||||||
strip -g -R .comment -R .note "$file"
|
strip -g -R .comment -R .note "$file"
|
||||||
|
Loading…
Reference in New Issue
Block a user