mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
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
|
||||
# 0000022
|
||||
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)).
|
||||
*177*E*L*F*0000020\ 001\ *|*\!*\<*a*r*c*h*\>*)
|
||||
strip -g -R .comment -R .note "$file"
|
||||
|
Loading…
Reference in New Issue
Block a user