[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] libvpx fails to build with "local: build/: ba
From: |
Martin Lambers |
Subject: |
Re: [Mingw-cross-env-list] libvpx fails to build with "local: build/: bad variable name" |
Date: |
Tue, 6 Mar 2012 20:33:00 +0100 |
On Sun, 12 Feb 2012 12:48:24 +1100, Tony Theodore wrote:
> On 12 February 2012 00:29, Simon A. Eugster <address@hidden> wrote:
> > I could build qt4 and gcc, which I'm very glad about, but ffmpeg
> > does not want to be built yet. What is the problem here?
>
> It seems you're on a system where /bin/sh isn't bash. If you have a
> /bin/bash, you can delete the two libvpx-*.patch files for the time
> being.
I have the same problem.
Wouldn't it be better to change libvpx-2-fix-bin-bash.patch to replace
'#!/bin/bash' with '#!/usr/bin/env bash' instead of '#!/bin/sh'? That's
the standard way to run a script with bash if the location of bash is
unknown but in PATH (e.g. on the BSDs).
This fixes the issue at least on Ubuntu 11.10, where /bin/sh is dash
and not bash.
Martin
- Re: [Mingw-cross-env-list] libvpx fails to build with "local: build/: bad variable name",
Martin Lambers <=