pkgmk: don't assume file will print a ',' with future releases

This commit is contained in:
Fredrik Rinnestam 2017-02-18 20:02:32 +01:00
parent 8a13560ef8
commit 8db4bc01e2

View File

@ -426,10 +426,10 @@ strip_files() {
find . -type f -printf "%P\n" | $FILTER | while read FILE; do
case $(file -b "$FILE") in
*ELF*executable*not\ stripped,*)
*ELF*executable*not\ stripped*)
strip --strip-all "$FILE"
;;
*ELF*shared\ object*not\ stripped,*)
*ELF*shared\ object*not\ stripped*)
strip --strip-unneeded "$FILE"
;;
current\ ar\ archive)