waf/buildtools: remove more bash shebangs and fix a == to =
authorBjörn Jacke <bj@sernet.de>
Thu, 2 Dec 2010 09:14:07 +0000 (10:14 +0100)
committerBjoern Jacke <bj@sernet.de>
Thu, 2 Dec 2010 09:36:06 +0000 (10:36 +0100)
buildtools/mktowscript/rebuild_all.sh
buildtools/testwaf.sh

index 23622b2abedb6a90e1c55958d7c312fa2159d494..e3ed7cfd24dc1f2db4098a9a09c4ef59aad353d6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 cat mklist.txt |
 while read line; do
index a9a17cfdef78a5a4903465da724f2f0ab9ccf0ec..d08ea835e7951744fd0ba72df542c39b2f133899 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 set -e
 set -x
@@ -49,7 +49,7 @@ pushd lib/talloc
 versions="python2.4 python2.5 python2.6 python3.0 python3.1"
 for p in $versions; do
     ret=$(which $p || echo "failed")
-    if [ $ret == "failed" ]; then
+    if [ $ret = "failed" ]; then
         echo "$p not found, skipping"
         continue
     fi