mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
06-strip-and-debug-pkgs.sh: ignore binaries for unknown machines
Because most likely these files are not executables, but some kind of bytecode. And strip doesn't know how to strip them anyway.
This commit is contained in:
parent
0222078d36
commit
3c135fddb7
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ hook() {
|
|||
continue
|
||||
fi
|
||||
|
||||
if [[ $(file -b "$f") =~ "no machine" ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
fname=${f##*/}
|
||||
for x in ${nostrip_files}; do
|
||||
if [ "$x" = "$fname" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue