[vlc-commits] package/win32: build.sh: fix fake wine call in WSL

Steve Lhomme git at videolan.org
Wed Jul 1 16:12:39 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul  1 15:23:22 2020 +0200| [e560d83b9d9067ad67d06cb12b6e9768cb909283] | committer: Steve Lhomme

package/win32: build.sh: fix fake wine call in WSL

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e560d83b9d9067ad67d06cb12b6e9768cb909283
---

 extras/package/win32/build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 8dd2c9df2a..11f62b9e2b 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -155,7 +155,8 @@ then
     then
         echo "Using wsl.exe to replace wine"
         echo "#!/bin/sh" > build/bin/wine
-        echo "wsl.exe \"\$@\"" >> build/bin/wine
+        echo "\"\$@\"" >> build/bin/wine
+        chmod +x build/bin/wine
     fi
 fi
 



More information about the vlc-commits mailing list