Skip to content

Commit 7180e07

Browse files
committed
seems to work OK these days?
1 parent 302fe24 commit 7180e07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cross_compile_ffmpeg.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ check_missing_packages () {
199199
#check if WSL
200200
# check WSL for interop setting make sure its disabled
201201
# check WSL for kernel version look for version 4.19.128 current as of 11/01/2020
202-
if uname -a | grep -q -- "-microsoft" ; then
202+
if uname -a | grep -iq -- "-microsoft" ; then
203203
if cat /proc/sys/fs/binfmt_misc/WSLInterop | grep -q enabled ; then
204204
echo "windows WSL detected: you must first disable 'binfmt' by running this
205205
sudo bash -c 'echo 0 > /proc/sys/fs/binfmt_misc/WSLInterop'
206206
then try again"
207-
exit 1
207+
#exit 1
208208
fi
209209
export MINIMUM_KERNEL_VERSION="4.19.128"
210210
KERNVER=$(uname -a | awk -F'[ ]' '{ print $3 }' | awk -F- '{ print $1 }')
@@ -216,7 +216,7 @@ check_missing_packages () {
216216
if [ $(version $KERNVER) -lt $(version $MINIMUM_KERNEL_VERSION) ]; then
217217
echo "Windows Subsystem for Linux (WSL) detected - kernel not at minumum version required: $MINIMUM_KERNEL_VERSION
218218
Please update via windows update then try again"
219-
exit 1
219+
#exit 1
220220
fi
221221
echo "for WSL ubuntu 20.04 you need to do an extra step https://github.com/rdp/ffmpeg-windows-build-helpers/issues/452"
222222
fi

0 commit comments

Comments
 (0)