Thanks David,
I've commited this to lberk/dev on sourceware.org/pcpfans.git to be
cherry picked if a maintainer would be so kind.
Cheers,
Lukas
David Disseldorp <ddiss@xxxxxxx> writes:
> The Open Build Service runs with bash as PID 1, which should not cause
> configure failure.
> ---
> configure | 2 ++
> configure.ac | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/configure b/configure
> index 86f6550..a3d1d83 100755
> --- a/configure
> +++ b/configure
> @@ -8897,6 +8897,8 @@ NR == 1 { if ($1 != "UID" && $1 !=
> "USER") exit
> # Unix variants
> $2 == 1 && / init/ { print "OK"; exit }
> $2 == 1 && / \/etc\/init/ { print "OK"; exit }
> +# Open Build Service
> +$2 == 1 && / \/bin\/bash/ { print "OK"; exit }
> # Fedora 9
> $2 == 1 && / \/sbin\/init/ { print "OK"; exit }
> # Fedora 15
> diff --git a/configure.ac b/configure.ac
> index 2d3f8fd..d8e4e1d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1122,6 +1122,8 @@ NR == 1 { if ($1 != "UID" && $1 !=
> "USER") exit
> # Unix variants
> $2 == 1 && / init/ { print "OK"; exit }
> $2 == 1 && / \/etc\/init/ { print "OK"; exit }
> +# Open Build Service
> +$2 == 1 && / \/bin\/bash/ { print "OK"; exit }
> # Fedora 9
> $2 == 1 && / \/sbin\/init/ { print "OK"; exit }
> # Fedora 15
|