Skip to content

Commit 6fd0116

Browse files
committed
binary check fix
1 parent 4e4196d commit 6fd0116

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-ffmpeg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ build_done() {
156156
}
157157

158158
verify_binary_type() {
159+
if ! command_exists "file"; then
160+
return
161+
fi
162+
159163
BINARY_TYPE=$(file "$WORKSPACE/bin/ffmpeg" | sed -n 's/^.*\:\ \(.*$\)/\1/p')
160164
echo ""
161165
case $BINARY_TYPE in

0 commit comments

Comments
 (0)