[PATCH 04/19] trylink: fix linking when /bin/sh is not bash
Michael Tokarev
mjt at tls.msk.ru
Tue Sep 25 13:07:04 UTC 2012
On 25.09.2012 16:06, Florian Fainelli wrote:
> From: Nicolas Thill <nico at openwrt.org>
>
> See https://dev.openwrt.org/ticket/1115 for background on this issue.
>
> Signed-off-by: Nicolas Thill <nico at openwrt.org>
> ---
> scripts/trylink | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/trylink b/scripts/trylink
> index a8b0b2e..ddada7a 100755
> --- a/scripts/trylink
> +++ b/scripts/trylink
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/usr/bin/env bash
I think it's better to fix the script itself than to require bash.
Just IMHO anyway.
BTW, on my dash (0.5.7) it appears to work fine.
/mjt
More information about the busybox
mailing list