[PATCH 3/3] Standardise on borne shell which every system has

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 25 19:25:49 PST 2009


On Thu, Feb 26, 2009 at 01:05:18PM +1030, Benjamin Close wrote:
> Signed-off-by: Benjamin Close <Benjamin.Close at clearchain.com>
> ---
>  rules/merge.sh |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/merge.sh b/rules/merge.sh
> index 0c5187e..b18af7c 100755
> --- a/rules/merge.sh
> +++ b/rules/merge.sh
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/bin/sh
>  
>  INDIR=`dirname $0`
>  DEST=$1
> @@ -12,7 +12,7 @@ basename=`basename $0`
>  echo "// DO NOT EDIT THIS FILE - IT WAS AUTOGENERATED BY $basename FROM rules/*.part" >$DEST
>  
>  for i in $*; do
> -  if [ "$i" == "$HDR" ] || [ "$i" == "HDR" ]; then
> +  if [ "$i" = "$HDR" ] || [ "$i" = "HDR" ]; then
>      echo >> $DEST;
>      read hdr
>      echo "$hdr" >> $DEST
> -- 
> 1.6.0.2

Acked-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
  Peter


More information about the xorg-devel mailing list