1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 05:55:36 -07:00

kiss: fix incorrect path to pkg_strip. Closes #252

This commit is contained in:
Dylan Araps 2021-07-27 14:20:33 +03:00
parent c884f57eb2
commit 1c884d870e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -621,7 +621,7 @@ pkg_strip() {
# would run od on all files (upwards of 4000 for Python). # would run od on all files (upwards of 4000 for Python).
*/sbin/?*|*/bin/?*|*/lib/?*|*/lib??/?*|*/lib???/?*|*/lib????/?*) */sbin/?*|*/bin/?*|*/lib/?*|*/lib??/?*|*/lib???/?*|*/lib????/?*)
case $(od -A o -t c -N 18 "$file") in case $(od -A o -t c -N 18 "$pkg_dir/$pkg$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 "$pkg_dir/$pkg$file" strip -g -R .comment -R .note "$pkg_dir/$pkg$file"