FS#76537: Fix 'file' invocation
This commit is contained in:
parent
cc7b0a4602
commit
3d614f5da3
2
PKGBUILD
2
PKGBUILD
|
@ -153,7 +153,7 @@ _package-headers() {
|
||||||
echo "Stripping build tools..."
|
echo "Stripping build tools..."
|
||||||
local file
|
local file
|
||||||
while read -rd '' file; do
|
while read -rd '' file; do
|
||||||
case "$(file -bi "$file")" in
|
case "$(file -Sib "$file")" in
|
||||||
application/x-sharedlib\;*) # Libraries (.so)
|
application/x-sharedlib\;*) # Libraries (.so)
|
||||||
strip -v $STRIP_SHARED "$file" ;;
|
strip -v $STRIP_SHARED "$file" ;;
|
||||||
application/x-archive\;*) # Libraries (.a)
|
application/x-archive\;*) # Libraries (.a)
|
||||||
|
|
Loading…
Reference in New Issue