[PATCH 11/19] gen_build_files: use bash to avoid printf argument list issues.

Rich Felker dalias at aerifal.cx
Tue Sep 25 22:40:22 UTC 2012


On Tue, Sep 25, 2012 at 02:06:10PM +0200, Florian Fainelli wrote:
> From: Felix Fietkau <nbd at openwrt.org>
> 
> Signed-off-by: Felix Fietkau <nbd at openwrt.org>
> ---
>  scripts/gen_build_files.sh |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/gen_build_files.sh b/scripts/gen_build_files.sh
> index 0989b2f..60edf07 100755
> --- a/scripts/gen_build_files.sh
> +++ b/scripts/gen_build_files.sh
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/usr/bin/env bash

If there's a bug in this script that's causing problems on other
shells, it should be fixed. Breaking busybox so it can't be
self-hosting is a step backwards.

Rich


More information about the busybox mailing list