pkg_strip: continue the loop if file is not a bin/lib

This commit is contained in:
Muhammad Herdiansyah 2019-06-10 17:53:30 +07:00
parent 5cbd914957
commit fa262255fa

3
puke
View File

@ -92,8 +92,9 @@ pkg_strip() {
;;
application/x-archive*) strip_opts="--strip-debug" ;;
application/x-executable*) strip_opts="--strip-all" ;;
*) continue ;;
esac
strip "$strip_opts" "$binary" 2>/dev/null
strip "$strip_opts" "$binary"
done
}