1
0
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:
Dylan Araps 2020-05-25 18:37:57 +03:00
parent 6134d5d02f
commit 14a1bd3638
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -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"