[PATCH 3/3] Standardise on borne shell which every system has
Benjamin Close
Benjamin.Close at clearchain.com
Wed Feb 25 18:35:18 PST 2009
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
More information about the xorg-devel
mailing list