[vlc-devel] [vlc-commits] win32: build.sh: add an interactive mode

Simon Latapie garf at videolan.org
Wed May 2 08:50:51 CEST 2018


On Fri, Apr 27, 2018, at 14:12, Konstantin Pavlov wrote:
> 
> From jenkins nightlies:
> 
> + cd extras/tools
> + [  != yes
> extras/package/win32/build.sh: 95: [: missing ]
> + -f ./Makefile ]
> extras/package/win32/build.sh: 95: extras/package/win32/build.sh: -f: not
> found
> + ./bootstrap
> 
> 
> So I guess there should be two [] ?

Sorry for the delayed answer.
Ouch, what a newbie mistake...

I think just extracting the || operator from the brackets should do the trick (and double square brackets is a bashism, if I remember well).

c.f. patch as attachment.

-- 
  Simon Latapie
  garf at videolan.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-win32-build.sh-fix-conditional-bootstrap-launch.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180502/d3aa4356/attachment.bin>


More information about the vlc-devel mailing list